This documentation provides an overview of the testing processes and components used in the LEAPP project. It covers module testing, test data creation, and image management.
-
- Overview of the LEAPP testing components and workflow
- Description of key features and future considerations
-
- Detailed guide on using the
make_test_data.pyscript - Process of generating test data for LEAPP modules
- Detailed guide on using the
-
- Instructions for running tests on LEAPP modules using the
test_module.pyscript - Explanation of test execution, result collection, and golden file testing
- Instructions for running tests on LEAPP modules using the
-
Documenting Conditional Logic & Coverage
- How to use
admin/test/metadata/conditional_behaviors.json - Documenting module-specific conditions (e.g., iOS versions)
- Linking conditions to test cases for coverage analysis
- How to use
-
- Guide for verifying various output formats supported by modules using the
test_module_output.pyscript - Process of manual output verification
- Guide for verifying various output formats supported by modules using the
-
Adding New Images to the Manifest
- Step-by-step guide for adding new test images to the project
- Best practices for maintaining the image manifest
-
- Overview of the file path search process
- Explanation of filepath_results.csv and filepath_search_summary.md
To begin working with LEAPP testing:
- Review the Testing Architecture Overview to understand the overall structure.
- Follow the Creating Module Test Cases guide to generate test data for modules using the
make_test_data.pyscript. - Use the Testing Modules document to run tests with the
test_module.pyscript and understand the golden file workflow. - Refer to Documenting Conditional Logic & Coverage to understand how to document and track tests for specific module behaviors.
- Use Testing Module Outputs to verify report outputs with the
test_module_output.pyscript. - If you need to add a new test image, refer to Adding New Images to the Manifest.