Goal: Establish the testing infrastructure and cover the foundational building blocks of XMem.
Infrastructure Setup:
- Ensure pytest and pytest-asyncio are correctly configured in pyproject.toml.
- Create a tests/conftest.py for shared fixtures (e.g., event loop, basic mocks).
- Document the testing workflow in CONTRIBUTING.md.
Core Logic Testing:
- Implement unit tests for src/utils/*.py.
- Implement unit tests for data validation in src/schemas/*.py.
- Implement unit tests for database helper functions in src/database/*.py.
Basic Agent Tests:
- Implement unit tests for deterministic components of agents in src/agents/*.py.
Goal: Establish the testing infrastructure and cover the foundational building blocks of XMem.
Infrastructure Setup:
Core Logic Testing:
Basic Agent Tests: