Files
rdbms-playground/tests/it/main.rs
T
claude@clouddev1 4752ba29a0 feat: compound-PK foreign-key references — grammar + tests (ADR-0043)
Multi-column FK parsing on both surfaces: DSL from P.(a, b) to
C.(x, y) (parenthesized endpoint; single bare form unchanged) and
SQL FOREIGN KEY (a, b) REFERENCES P(x, y) incl. bare-reference
auto-expand. consume_fk_reference + the table-level/ALTER FK
parsers collect column lists; the from P. completion now offers
( (snapshots updated). 12 integration tests in
tests/it/compound_fk.rs cover parse (both surfaces), engine-enforced
FK, arity + partial-PK + per-pair-type-mismatch refusal,
--create-fk per-column, save->rebuild round-trip, undo (one step),
and single-column preservation. Mark T3 [x]; ADR-0043 implemented.
2026-06-09 18:44:37 +00:00

38 lines
1.0 KiB
Rust

//! Consolidated integration-test binary (see
//! `docs/plans/20260602-test-consolidation.md`).
//!
//! Each former top-level `tests/*.rs` is now a module here, so the
//! whole suite links into **one** binary instead of 26 — turning an
//! edit-the-lib-then-test cycle from 26 separate links into one.
//! `tests/typing_surface_matrix.rs` stays a separate binary (it is
//! already a consolidated `mod`-based target).
mod case_insensitive_names;
mod column_op_guards;
mod compound_fk;
mod engine_vocabulary_audit;
mod friendly_enrichment;
mod help_command;
mod iteration2_persistence;
mod iteration3_rebuild;
mod iteration4a_rebuild_command;
mod iteration4b_lifecycle_commands;
mod iteration5_export_import;
mod iteration6_resume_history;
mod parse_error_pedagogy;
mod project_lifecycle;
mod replay_command;
mod sql_alter_table;
mod sql_create_index;
mod sql_create_table;
mod sql_delete;
mod sql_dml_e2e;
mod sql_drop_index;
mod sql_drop_table;
mod sql_insert;
mod sql_select;
mod sql_update;
mod show_list;
mod undo_snapshots;
mod walking_skeleton;