Test Strategy¶
bijux-cli test strategy layers fast contract checks with integration and
architecture suites to catch behavioral drift early.
Visual Summary¶
flowchart TB
unit["unit and parser laws"] --> routing["routing contracts and snapshots"]
routing --> integration["integration cli and repl suites"]
integration --> architecture["architecture ownership boundaries"]
architecture --> release["release tree and compatibility gates"]
Test Layers¶
- unit tests in source modules for local behavior
- routing suites for parser normalization and route laws
- integration suites for command end-to-end behavior
- architecture suites for boundary and ownership guarantees
- release/contract tests for packaging and schema confidence
Slow-Test Policy¶
- tests above 10 seconds should be marked and excluded from default fast gates
- slow suites should run in dedicated gates or explicit invocations
- default
make testshould prioritize quick contract feedback
Code Anchors¶
crates/bijux-cli/tests/routing/crates/bijux-cli/tests/integration/crates/bijux-cli/tests/architecture/makes/*.mk
Test Strategy Rules¶
- new user-visible behavior requires targeted tests in the owning layer
- snapshot changes need explicit review comments and rationale
- failing architecture tests block merges even if local unit tests pass