Module test_infrastructure

Module test_infrastructure 

Source

Modules§

test_data
Test utilities for creating secure test data

Structs§

TestEnvironment
Environment variable isolation for tests This ensures tests cannot interfere with each other or the host system
TestEnvironmentGuard
RAII guard for test environment isolation Usage: let _env = TestEnvironmentGuard::new().with_jwt_secret(“test-secret”);

Functions§

with_global_lock
Ensure only one test that modifies global state runs at a time