Directories | |
functional | |
integration | |
mocks | |
unit | |
app_tests
This directory contains tests for the application, categorized to ensure clarity and maintainability. Directory Structure
app_tests/ ├── unit/ # Tests for individual classes or functions ├── integration/ # Tests for interactions between components or modules ├── mocks/ # Mock files for simulating dependencies ├── functional/ # High-level tests for application-wide behavior
Testing Categories
Unit Tests
Focus on testing individual classes or functions in isolation. Mock dependencies when required.
Integration Tests
Verify that multiple components work together as expected. Typically involve real implementations of the components.
Mock Files
Provide mock classes or functions for isolating dependencies in unit tests.
Functional Tests
Test high-level application behavior. Includes scripts like test_entry_point.sh for validating overall functionality.