torrust_tracker_deployer_lib/testing/e2e/tasks/mod.rs
1//! E2E testing task modules
2//!
3//! This module contains all the high-level tasks that make up the end-to-end testing
4//! workflow. Each task represents a significant phase in the deployment testing process
5//! and can be executed independently or as part of a complete test sequence.
6//!
7//! ## Module Organization
8//!
9//! The tasks are organized by deployment target:
10//!
11//! ### Infrastructure-agnostic tasks (can be used with both containers and VMs):
12//! - `run_create_command` - Environment creation using `CreateCommandHandler`
13//! - `run_configure_command` - Infrastructure configuration via Ansible and playbook execution
14//! - `run_configuration_validation` - Configuration validation and testing
15//! - `run_test_command` - Deployment validation and testing
16//!
17//! ### Container-specific tasks (`container` submodule):
18//! - `cleanup_infrastructure` - Docker container cleanup
19//! - `preflight_cleanup` - Container-specific preflight cleanup
20//! - `run_provision_simulation` - Provision simulation for container-based testing
21//!
22//! ### Virtual machine-specific tasks (`virtual_machine` submodule):
23//! - `run_provision_command` - Infrastructure provisioning via `OpenTofu`
24//! - `cleanup_infrastructure` - Infrastructure resource cleanup
25//! - `preflight_cleanup` - Shared directory cleanup functions and error types for both VM and container tests
26//!
27//! These tasks are orchestrated by the E2E test binaries to provide comprehensive
28//! testing coverage of the entire deployment system.
29
30pub mod black_box;
31pub mod container;
32pub mod preflight_cleanup;
33pub mod run_configuration_validation;
34pub mod run_configure_command;
35pub mod run_create_command;
36pub mod run_release_validation;
37pub mod run_run_validation;
38pub mod run_test_command;
39pub mod virtual_machine;