Skip to main content

reifydb_testing/
lib.rs

1// SPDX-License-Identifier: Apache-2.0
2// Copyright (c) 2026 ReifyDB
3
4//! Test-only helpers shared across the workspace: golden-file harness, the `testscript` runner used by the integration
5//! suites, temp-directory and free-port allocators, and small assertion utilities. Production code does not depend
6//! on this crate; only `[dev-dependencies]` and the dedicated `testsuite/` repository do.
7//!
8//! Test scripts here run RQL through the embedded engine; their inputs and outputs are checked against goldenfiles
9//! that live in `testsuite/`. Regenerating those goldenfiles is a deliberate manual operation, never an automatic
10//! one in this crate.
11
12#![cfg_attr(not(debug_assertions), deny(clippy::disallowed_methods))]
13#![cfg_attr(debug_assertions, warn(clippy::disallowed_methods))]
14#![cfg_attr(not(debug_assertions), deny(warnings))]
15#![allow(clippy::tabs_in_doc_comments)]
16
17extern crate self as reifydb_testing;
18
19pub mod chaos;
20pub mod goldenfile;
21pub mod network;
22pub mod tempdir;
23pub mod testscript;
24pub mod util;