Skip to content

Phase 1: Foundation and Core Unit Tests #147

@ishaanxgupta

Description

@ishaanxgupta

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.

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions