backend.tests
Comprehensive test suite for QRec backend. This package contains all tests for the backend application.
Directory Structure
conftest.py
Configures fixtures for tests to utilize.
api
API endpoint tests (app, reports, verification, workers)
integration
Integration tests (database connections, etc.)
unit
Unit tests organized by component:
- components: Feature-specific tests
- camera_verification: Face ID, QR code, and error handling tests
- reports: Report service tests
- utils: Image utility tests
- workers: Worker service tests
- database: Model tests
Run tests with: pytest
1""" 2Comprehensive test suite for QRec backend. This package contains all tests for the backend application. 3 4## Directory Structure 5#### `conftest.py` 6Configures fixtures for tests to utilize. 7 8#### `api` 9API endpoint tests (app, reports, verification, workers) 10 11#### `integration` 12Integration tests (database connections, etc.) 13 14#### `unit` 15Unit tests organized by component: 16- **components**: Feature-specific tests 17 - **camera_verification**: Face ID, QR code, and error handling tests 18 - **reports**: Report service tests 19 - **utils**: Image utility tests 20 - **workers**: Worker service tests 21- **database**: Model tests 22 23Run tests with: pytest 24"""