Test
Run the test suite to verify functionality.
Workflow
1. Discover Test Command
Investigate available commands by checking project files:
flake.nix/flake.lock: Usenix flake checkor project-specific test commandsMakefile/justfile: Look fortesttargetpackage.json: Checkscripts.test(usenpm test,vitest,jest)go.mod: Usego test ./...Cargo.toml: Usecargo testpyproject.toml/setup.py: Usepytestorpython -m unittest
Prefer project-configured commands over language defaults. If multiple options exist, use the one defined in the project's build configuration.
2. Run Tests
- Run the discovered test command
- If the command fails due to missing dependencies, recommend the appropriate setup (e.g.,
nix develop,npm install,go mod download) - If no test framework is configured, propose adding one appropriate for the project
3. Report and Fix
- Report test results clearly: total, passed, failed, skipped
- Fix any failing tests before proceeding
Converted and distributed by TomeVault — claim your Tome and manage your conversions.