| 1 | //! Consolidated harness for plain `#[test]`/`#[tokio::test]` acceptance suites. |
| 2 | //! |
| 3 | //! See `crates/tui/tests/README.md` for why this exists: 17 small integration |
| 4 | //! binaries each re-linked the full `codewhale-tui` graph — one harness keeps the |
| 5 | //! same test names (`integration::adaptive_evidence_acceptance::...`) so |
| 6 | //! `cargo test -p codewhale-tui adaptive_evidence_acceptance` still filters. |
| 7 | |
| 8 | // Production modules that are `#[path]`-included by the test files below and |
| 9 | // that themselves use `crate::`. They must exist at the harness crate root so |
| 10 | // `crate::config`, `crate::shell_dispatcher`, etc. resolve when the same |
| 11 | // files are compiled as `crate::integration::<test>::<module>`. |
| 12 | |
| 13 | #[path = "../../src/config/home.rs"] |
| 14 | #[allow(dead_code)] |
| 15 | mod config; |
| 16 | #[path = "../../src/eval.rs"] |
| 17 | mod eval; |
| 18 | #[path = "../../src/skills/install.rs"] |
| 19 | #[allow(dead_code)] |
| 20 | mod install; |
| 21 | #[path = "../support/llm_client.rs"] |
| 22 | mod llm_client; |
| 23 | #[path = "../../src/network_policy.rs"] |
| 24 | mod network_policy; |
| 25 | #[path = "../../src/skills/package_digest.rs"] |
| 26 | #[allow(dead_code)] |
| 27 | mod package_digest; |
| 28 | #[path = "../../src/shell_dispatcher.rs"] |
| 29 | mod shell_dispatcher; |
| 30 | // The legacy text tool-call parser lives in codewhale-core now; keep the |
| 31 | // `crate::tool_parser` path the suites use. |
| 32 | use codewhale_core::tool_parser; |
| 33 | |
| 34 | mod adaptive_evidence_acceptance; |
| 35 | mod cache_guard; |
| 36 | mod coordination_acceptance; |
| 37 | mod diagnostic_read_only; |
| 38 | mod dotenv_authority; |
| 39 | mod eval_harness; |
| 40 | mod exec_persistent_service; |
| 41 | mod exec_stream_drop_acceptance; |
| 42 | mod exec_turn_usage; |
| 43 | mod integration_mock_llm; |
| 44 | mod issue_report_acceptance; |
| 45 | mod lifecycle_outbox_exec; |
| 46 | mod palette_audit; |
| 47 | mod protocol_recovery; |
| 48 | mod reasoning_content_replayed_after_tool_call; |
| 49 | mod shell_denial_acceptance; |
| 50 | mod skill_cli; |
| 51 | mod telemetry_contract; |
| 52 | mod verifiers_harness_contract; |
| 53 | mod workflow_tool_stream_acceptance; |
| 54 |