Skip to content
This repository was archived by the owner on Jan 20, 2026. It is now read-only.
This repository was archived by the owner on Jan 20, 2026. It is now read-only.

Low test coverage for new AI-powered commands #6

@udiedrichsen

Description

@udiedrichsen

Description

The new AI-powered commands (analyze and fix) and their supporting services have insufficient test coverage, causing CI/CD failures.

Current Status

  • Current coverage: 38.81%
  • Required coverage: 100%
  • Files needing tests:
    • /lib/src/commands/analyze_command.dart
    • /lib/src/commands/fix_command.dart
    • /lib/src/services/analyzer_service.dart
    • /lib/src/services/gemini_service.dart

Tasks

  • Add unit tests for AnalyzeCommand
  • Add unit tests for FixCommand
  • Add unit tests for AnalyzerService
  • Add unit tests for GeminiService
  • Mock external dependencies (Gemini API, file system)
  • Achieve 100% code coverage

Related

Priority

High - Blocking publication to pub.dev

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    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