Testing Guide
OxiDex has a comprehensive testing strategy including unit tests, integration tests, and ExifTool comparison tests.
Testing Overview
- Integration Test Plan - Comprehensive integration testing strategy
- Test Failure Triage - How to handle test failures
Comparison Testing
The comparison/ directory contains resources for validating OxiDex against ExifTool:
- README - Overview of comparison testing
- Parity Report - Current parity status
- Field Naming Guide - Tag naming conventions
- Test Coverage - Coverage analysis
- Raw Outputs - Raw comparison data
Running Tests
bash
# Run all tests (always use --release due to memory requirements)
cargo test --release
# Run specific test module
cargo test --release parsers::jpeg
# Run with output
cargo test --release -- --nocapture
# Run ExifTool comparison tests
cargo test --release --features exiftool-comparisonTest Organization
tests/
├── fixtures/ # Test images and files
│ ├── jpeg/ # JPEG test files
│ ├── tiff/ # TIFF test files
│ └── ...
├── integration/ # Integration tests
└── comparison/ # ExifTool comparison infrastructure