Testing Guide¶
Running and writing tests for LangCalc.
Test Organization¶
Running Tests¶
# All tests
pytest tests/
# Specific category
pytest tests/test_unit/
pytest tests/test_integration/
# With coverage
pytest tests/ --cov=langcalc --cov-report=html
Writing Tests¶
See tests/conftest.py for shared fixtures.
Test Coverage¶
Current: 95% on core modules.
For complete testing documentation, see tests/README.md in the repository.