Skip to main content

Module e2e

Module e2e 

Source
Expand description

End-to-End testing infrastructure

This module provides comprehensive testing infrastructure for validating the complete deployment workflow from infrastructure provisioning through application deployment and validation.

§Module Structure

  • container - Service dependency injection container for E2E tests
  • context - Test context configuration and management
  • containers - Container management for E2E testing scenarios
  • process_runner - Black-box CLI process execution utilities
  • tasks - High-level testing tasks and workflows

§Testing Workflow

The E2E testing system orchestrates complete deployment scenarios including provisioning, configuration, validation, and cleanup phases to ensure the entire deployment system works correctly.

§Dependency Verification

E2E test binaries use the torrust-tracker-deployer-dependency-installer package to verify required system dependencies are installed before running tests.

Re-exports§

pub use container::Services;
pub use containers::ContainerError;
pub use containers::RunningProvisionedContainer;
pub use containers::StoppedProvisionedContainer;

Modules§

container
Dependency injection container for testing services
containers
Container management for E2E testing
context
Test context management for E2E testing
tasks
E2E testing task modules

Structs§

ProcessResult
Wrapper around process execution results
ProcessRunner
Runs the production application as an external process

Constants§

LXD_OPENTOFU_SUBFOLDER
Subdirectory name for LXD OpenTofu configuration files within the build directory.