You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Dead test suites: weaver-sandbox src/tests and weaver-syntax tests/e2e are never compiled #231
bugSomething isn't workinglowBacklog work, hygiene, or technical debt planned opportunistically, without a strict deadline.testingTest coverage, test infrastructure, and verification tooling work.
The test-quality sweep (branch test-quality-sweep) found two test suites that are never compiled or run:
crates/weaver-sandbox/src/tests/ — src/lib.rs declares only env_guard, error, profile, runtime, and sandbox; there is no mod tests; declaration (and no #[path] include), so the entire sandbox unit/BDD suite, including tests/features/sandbox.feature, is dead code. This appears to date from commit 2f359eb.
crates/weaver-syntax/tests/e2e/ — there is no tests/e2e.rs (or tests/e2e/main.rs) harness and no [[test]] manifest entry, so tests/e2e/mod.rs is not an auto-discovered integration-test target. The e2e__*.snap snapshot files are orphans. crates/weaver-syntax/tests/features/weaver_syntax.feature likewise has no harness file.
Both suites were refactored during the sweep to current test-quality conventions, but nothing verifies them; enabling them was deliberately left out of the sweep because wiring in a previously dead suite is a behavioural change that may surface fresh compile/lint/test failures on first compilation.
Suggested remedy
Wire weaver-sandbox tests in with a #[cfg(test)] mod tests; declaration in src/lib.rs and fix whatever surfaces.
Add a tests/e2e.rs harness (or rename tests/e2e/mod.rs to tests/e2e/main.rs) for weaver-syntax, plus harnesses for the .feature files, and fix whatever surfaces.
References
Found during the test-quality sweep; see also #230 for the related environment-mutation findings.
bugSomething isn't workinglowBacklog work, hygiene, or technical debt planned opportunistically, without a strict deadline.testingTest coverage, test infrastructure, and verification tooling work.
Activity
Address review findings on the test-quality sweep
Sweep test suites for quality and Whitaker conformance (#232)