1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
//! Entry point for the `cargo test --test integration` binary.
//!
//! The actual integration tests live under `tests/integration/` and are
//! included here via explicit `#[path = "..."]` attributes so the
//! single binary can be run with `cargo test --test integration`.
//!
//! Submodules:
//!
//! * [`common`] — shared fixtures (schema, plan, policies, mock LLM
//! clients). Every other submodule depends on this one.
//! * [`end_to_end`] — full natural-language → SQL pipeline tests.
//! * [`dialect_compilation`] — parameterized compilation tests across
//! PostgreSQL, SQLite, and MySQL.
//! * [`policy_enforcement`] — table/column/row-filter policy checks.
//! * [`error_recovery`] — validation aggregation, retry classification,
//! and short-circuiting tests.
//! * [`optimizer_tests`] — query-optimizer integration tests.
//! * [`cache_integration`] — cache layer integration tests.