aster_forge_test/
lib.rs

1//! Shared integration-test infrastructure for Aster services.
2//!
3//! This crate packages the container machinery that Aster products previously duplicated in
4//! their `tests/common` modules: shared reusable containers serialized by filesystem locks,
5//! per-process resource registries with stale-process pruning, and readiness wait helpers.
6//!
7//! Everything here is test support code. Failures panic with descriptive messages instead of
8//! returning recoverable errors, because a broken test environment should fail fast and loud.
9
10pub mod temp;
11
12#[cfg(feature = "containers")]
13pub mod fixture;
14#[cfg(feature = "containers")]
15pub mod state;
16#[cfg(feature = "containers")]
17pub mod suite;
18#[cfg(feature = "containers")]
19pub mod wait;
20
21#[cfg(any(feature = "mysql", feature = "postgres"))]
22mod database;
23
24#[cfg(feature = "process")]
25pub mod process;
26
27#[cfg(feature = "smtp")]
28pub mod smtp;
29
30#[cfg(feature = "mysql")]
31pub mod mysql;
32#[cfg(feature = "postgres")]
33pub mod postgres;
34#[cfg(feature = "redis")]
35pub mod redis;