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,
5//! temp-directory and free-port allocators, and small assertion utilities. Every dependent takes
6//! it as a `[dev-dependencies]` entry, so no production build resolves it.
7//!
8//! Goldenfile regeneration is opt-in through `UPDATE_TESTFILES` and its aliases; nothing here
9//! ever rewrites a goldenfile on its own.
10
11#![cfg_attr(not(debug_assertions), deny(clippy::disallowed_methods))]
12#![cfg_attr(debug_assertions, warn(clippy::disallowed_methods))]
13#![cfg_attr(not(debug_assertions), deny(warnings))]
14#![allow(clippy::tabs_in_doc_comments)]
15
16extern crate self as reifydb_testing;
17
18pub mod goldenfile;
19pub mod network;
20pub mod tempdir;
21pub mod testscript;
22pub mod util;