Agent Tests - VoIdea
Overview
Unit tests for system agents.
Structure
tests/unit/agents/
├── test_base.py # Base agent tests
├── test_doc_agent.py
├── test_backlog_agent.py
├── test_spec_agent.py
├── test_audit_agent.py
├── test_observer_agent.py
├── test_evolution_agent.py
└── test_registry.py
Running Tests
# Run all agent tests
pytest tests/unit/agents/ -v
# Run specific agent tests
pytest tests/unit/agents/test_doc_agent.py -v
# With coverage
pytest tests/unit/agents/ --cov=app.agents --cov-report=html
Notes
- Tests use mocks where database is required
- Integration tests require actual database connection
Maintained by DocAgent