For Developers: Running Tests
This project includes a comprehensive test suite.
Unit Tests
Unit tests mock external AI services and verify the application's internal logic.
python -m pytest -m unit
Integration Tests
Integration tests require a live connection to the LLM service. Ensure your LLM provider is running before executing these.
python -m pytest -m integration
Running All Tests
To run both unit and integration tests:
python -m pytest
Debugging LLM Responses
You can see the actual responses from the LLM (or mocks) in the terminal by using the --show-llm-responses flag. This works for both unit and integration tests.
python -m pytest -m integration --show-llm-responses -s