Skip to content

feat: write unit and integration tests for all features #82

Description

@suenot

Description

Add a comprehensive test suite covering all major features:

  • Unit tests for each function (version bumping, diff processing, model selection, etc.)
  • Integration tests for provider interactions (mocked)
  • CI should block merges if tests fail

Currently there are no automated tests, which leads to regressions when new code is pushed.

Acceptance criteria

  • cargo test passes in CI
  • Coverage for: version management, git operations, config parsing, diff truncation, model jail logic

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions