25fb843c40
The prior commit switched the recipe to `[source] path = "source"`, but .gitignore:77 still listed `local/recipes/shells/brush/source` (a leftover from when brush was a transient upstream git fetch), so the vendored tree was not tracked — a fresh clone would have no brush source and the build would fail. Drop that ignore line and commit the vendored working tree (reubeno/brush @ 897b373e, with the Redox port patches pre-applied). brush is now a durable local fork like the other path=source recipes. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
991 B
991 B
How to run tests
Using xtask (Recommended)
The project provides cargo xtask commands for running tests:
# Run unit tests (fast tests excluding integration binaries)
cargo xtask test unit
# Run integration tests (all workspace tests including compat tests)
cargo xtask test integration
# Run tests with code coverage
cargo xtask test integration --coverage --coverage-output codecov.xml
CI Workflows
For comprehensive validation, use the CI workflows:
# Quick inner-loop checks (~7s warm): fmt, build, lint, unit tests
cargo xtask ci quick
# Full pre-commit checks (~45s warm): quick + deps, schemas, integration tests
cargo xtask ci pre-commit
Manual Approach (Alternate)
To run all workspace tests:
cargo test --workspace
To run just bash compatibility tests:
cargo test --test brush-compat-tests
To run a specific compatibility test case
cargo test --test brush-compat-tests -- '<name of test case>'