# Integration Tests This directory contains integration tests for the workshop-baker prebake workflow. ## Requirements - Python 3.10+ - Docker - pytest ## Setup Install Python dependencies: ```bash pip install -r requirements.txt ``` ## Running Tests ### Run all integration tests ```bash pytest tests/integration/test_prebake.py -v ``` ### Run specific test class ```bash # Run only Docker container tests pytest tests/integration/test_prebake.py::TestPrebakeIntegration -v # Run only configuration validation tests pytest tests/integration/test_prebake.py::TestPrebakeConfigValidation -v ``` ### Run specific test ```bash pytest tests/integration/test_prebake.py::TestPrebakeIntegration::test_project_compiles -v ``` ### Skip Docker tests (for local development) ```bash pytest tests/integration/test_prebake.py::TestPrebakeConfigValidation -v pytest tests/integration/test_prebake.py::TestPrebakeExamples -v ``` ## Test Structure - `test_prebake.py::TestPrebakeIntegration` - Docker-based integration tests - `test_prebake.py::TestPrebakeConfigValidation` - YAML configuration validation tests - `test_prebake.py::TestPrebakeExamples` - Example files validation tests ## Notes - Integration tests require Docker to be running - Tests use `archlinux:latest` Docker image - Tests mount the project directory into the container - Some tests may take longer due to Rust compilation