Expand description
Generic preflight cleanup functionality
This module provides directory cleanup functions that are used by both container-based and VM-based E2E testing workflows. These functions handle the cleanup of build and template directories to ensure test isolation.
Re-exports§
pub use crate::testing::e2e::tasks::container::preflight_cleanup::preflight_cleanup_previous_resources;
Structs§
- Directory
Cleanup Spec - Specification for a directory cleanup operation
Enums§
- Preflight
Cleanup Error - Errors that can occur during pre-flight cleanup operations
Functions§
- cleanup_
build_ directory - Cleans the build directory to ensure fresh template state for E2E tests
- cleanup_
data_ environment - Cleans the data directory for the test environment to ensure fresh state for E2E tests
- cleanup_
directories - Cleans multiple directories in sequence
- cleanup_
directory - Generic directory cleanup function for E2E test preflight operations
- cleanup_
previous_ test_ data - Cleans the data directory for a specific environment name before
TestContextcreation - cleanup_
templates_ directory - Cleans the templates directory to ensure fresh embedded template extraction for E2E tests