Skip to content

Add basectl test command#233

Merged
codeforester merged 1 commit into
masterfrom
feat/119-20260528-basectl-test-command
May 29, 2026
Merged

Add basectl test command#233
codeforester merged 1 commit into
masterfrom
feat/119-20260528-basectl-test-command

Conversation

@codeforester
Copy link
Copy Markdown
Owner

Summary

  • Add manifest parsing for test.command and expose a base_projects test-command resolver.
  • Add basectl test <project> to run the declared command from the project root with Base project environment variables and project venv PATH.
  • Update Bash/Zsh completions, docs, and focused Python/BATS coverage.

Validation

  • PYTHONPATH=lib/python:cli/python "$HOME/.base.d/base/.venv/bin/python" -m pytest
  • bats cli/bash/commands/basectl/tests/setup.bats cli/bash/commands/basectl/tests/basectl.bats cli/bash/commands/caff/tests/caff.bats cli/bash/commands/sort-in-place/tests/sort-in-place.bats lib/bash/file/tests/lib_file.bats lib/bash/git/tests/lib_git.bats lib/bash/runtime/tests/runtime_bashrc.bats lib/bash/std/tests/lib_std.bats lib/bash/version/tests/lib_version.bats tests/install.bats
  • PYTHONPATH=lib/python:cli/python git ls-files -z '*.py' | xargs -0 "$HOME/.base.d/base/.venv/bin/pylint" --rcfile=.pylintrc
  • bash -n cli/bash/commands/basectl/basectl.sh cli/bash/commands/basectl/subcommands/test.sh lib/shell/completions/basectl_completion.sh
  • zsh -n lib/shell/completions/basectl_completion.zsh
  • git diff --check

Fixes #119

@codeforester codeforester force-pushed the feat/119-20260528-basectl-test-command branch from b7c9869 to 2aa902d Compare May 29, 2026 04:29
@codeforester codeforester force-pushed the feat/119-20260528-basectl-test-command branch from 2aa902d to c5c9508 Compare May 29, 2026 04:31
@codeforester codeforester merged commit 48ca6ca into master May 29, 2026
12 of 14 checks passed
@codeforester codeforester deleted the feat/119-20260528-basectl-test-command branch May 29, 2026 04:32
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.

Implement basectl test project execution

1 participant