Skip to content

v0.2.3: Add comprehensive test coverage for all modules

Choose a tag to compare

@bigknoxy bigknoxy released this 04 May 04:16
· 60 commits to main since this release

Test Coverage Release

Added

  • Comprehensive test coverage for all modules:
    • : 22 tests for parse_github_datetime and all database models
    • : 6 tests for AnalysisScheduler class
    • : 15 tests for all CLI commands and helper functions
  • Total test count: 80 passing tests

Fixed

  • Missing logger import in scheduler.py
  • Removed incorrect await on find_opportunities() which is not async

Test Coverage Areas

  • DateTime parsing (Z suffix, timezone offsets, edge cases)
  • Database models (Repository, Analysis, Finding, Opportunity, ScheduledRun, Config)
  • Scheduler (init, analysis job, datetime parsing, error handling)
  • CLI commands (version, init, analyze, doctor, config, update, daemon, serve)
  • GitHub client async context manager
  • Analyzer documentation and security checks
  • gh CLI integration

All 80 tests pass with the fix in v0.2.2 included.