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