| ## Test Organization | |
| **Test Files:** | |
| - [test_agent_basic.py](../../agentbee/test/test_agent_basic.py) - Unit tests for Stage 1 foundation | |
| - Agent initialization | |
| - Settings loading | |
| - Basic question processing | |
| - StateGraph structure validation | |
| - [test_stage1.py](../../agentbee/test/test_stage1.py) - Stage 1 integration verification | |
| - Configuration validation | |
| - Agent initialization | |
| - End-to-end question processing | |
| - Quick verification script | |
| **Running Tests:** | |
| ```bash | |
| # Run unit tests | |
| PYTHONPATH=. uv run python tests/test_agent_basic.py | |
| # Run Stage 1 verification | |
| PYTHONPATH=. uv run python tests/test_stage1.py | |
| # Run all tests with pytest (future) | |
| PYTHONPATH=. uv run pytest tests/ | |
| ``` | |
| **Test Organization by Stage:** | |
| - **Stage 1:** Foundation setup tests (current) | |
| - **Stage 2:** Tool integration tests (future) | |
| - **Stage 3:** Core logic tests (future) | |
| - **Stage 4:** Robustness tests (future) | |
| - **Stage 5:** Performance tests (future) | |