Skip to content

Pass extra args through basectl test#276

Merged
codeforester merged 1 commit into
masterfrom
enhancement/255-20260529-test-extra-args
May 29, 2026
Merged

Pass extra args through basectl test#276
codeforester merged 1 commit into
masterfrom
enhancement/255-20260529-test-extra-args

Conversation

@codeforester
Copy link
Copy Markdown
Owner

Summary

  • Add basectl test <project> -- <args...> passthrough support for delegated test commands.
  • Pass extra args through "$@" for normal test.command values and after mise run <task> -- for test.mise commands.
  • Update README, command reference, architecture notes, and changelog.
  • Add BATS coverage for command passthrough, dry-run quoting, mise passthrough, and --unknown after -- being treated as a test-runner arg.

Validation

HOME=/private/tmp/base-review-home bats cli/bash/commands/basectl/tests/basectl.bats
BASE_CACHE_DIR=/private/tmp/base-review-cache bin/basectl test base --dry-run -- -k focused
git diff --check

Not run: shellcheck --severity=error cli/bash/commands/basectl/subcommands/test.sh because shellcheck is not installed in this local environment.

Closes #255

@codeforester codeforester merged commit e341cbd into master May 29, 2026
14 checks passed
@codeforester codeforester deleted the enhancement/255-20260529-test-extra-args branch May 29, 2026 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

basectl test should support passing extra arguments to the test command

1 participant