Skip to main content

Module testing

Module testing 

Source
Expand description

Testing utilities and fixtures

This module provides reusable test fixtures and helpers for testing various components of the application.

§Module Structure

  • e2e - End-to-end testing infrastructure and scenarios (includes black-box CLI testing)
  • integration - Integration testing utilities
  • fixtures - Reusable test fixtures
  • mock_clock - Mock clock implementation for deterministic time testing
  • network - Network testing utilities (port checking, connectivity testing)
  • recording_progress_listener - Records progress events for test assertions

Re-exports§

pub use mock_clock::MockClock;
pub use network::PortChecker;
pub use network::PortCheckerError;
pub use network::PortUsageChecker;
pub use network::PortUsageError;
pub use recording_progress_listener::ProgressEvent;
pub use recording_progress_listener::RecordingProgressListener;
pub use e2e::container::Services;
pub use e2e::containers::ContainerError;
pub use e2e::containers::RunningProvisionedContainer;
pub use e2e::containers::StoppedProvisionedContainer;
pub use e2e::context::TestContext;
pub use e2e::context::TestContextType;
pub use e2e::ProcessResult;
pub use e2e::ProcessRunner;

Modules§

e2e
End-to-End testing infrastructure
fixtures
Test fixtures for persistence and serialization testing
integration
Integration Testing Utilities
mock_clock
Mock clock for testing
network
Network Testing Utilities
recording_progress_listener
Recording progress listener for testing