Skip to content

Increase Unit Test Coverage to 80%+ Across All Modules #148

@coderabbitai

Description

@coderabbitai

🧪 Unit Test Coverage

Description

Increase unit test coverage across all TENET AI modules to at least 80%, ensuring code reliability and making future refactoring safer.

Tasks

  • Run current coverage report and document baseline
  • Identify modules with < 50% coverage
  • Write unit tests for the detection engine core
  • Write unit tests for API endpoint handlers
  • Write unit tests for utility/helper functions
  • Write unit tests for configuration validation
  • Achieve ≥ 80% line coverage across all modules
  • Add coverage badge to README

Acceptance Criteria

  • Overall coverage ≥ 80%
  • No module below 60% coverage
  • All tests pass in CI

Difficulty: 🟡 Medium

Labels: testing enhancement production-ready SSoC26

Well-tested code is production-ready code — a great contribution for any skill level!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Medium30 ptsSSoC26Social Summer of Code 2026 S5enhancementNew feature or requestproduction-readyProduction readinesstestingTesting related

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions