Skip to content

Increase test coverage to 80%+ #2

Description

@Edmon02

Description

Expand the test suite to achieve at least 80% code coverage across all modules.

Priority Areas

  • agents/ — mock LLM responses for architect, developer, tester, security auditor
  • seeds/ — KnowledgeMiner, OSSInstructor, EvolInstructor with mock LLM
  • topology/mall.py — full MALL orchestration tests with fixtures
  • verification/ — Python contracts, sandbox execution, verifier stubs
  • crosslang/translator.py — translation pipeline tests
  • training/ — data loader, trainer config, evaluator setup
  • llm/ — provider abstraction, rate limiter, cost tracker
  • Integration tests (marked @pytest.mark.integration) for real LLM calls

Acceptance Criteria

  • pytest --cov=rfa_factory --cov-report=term-missing shows >= 80% coverage
  • All tests pass in CI without real API keys

Metadata

Metadata

Assignees

No one assigned

    Labels

    roadmapRoadmap itemtestingTest coverage and test infrastructure

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions