Skip to content

Improve test coverage and config validation for launch readiness#16

Merged
AngeloGiacco merged 1 commit intomainfrom
claude/improve-repo-launch-QzoPw
Feb 16, 2026
Merged

Improve test coverage and config validation for launch readiness#16
AngeloGiacco merged 1 commit intomainfrom
claude/improve-repo-launch-QzoPw

Conversation

@AngeloGiacco
Copy link
Owner

  • Add strict config validation: checks referenced in human/agent mode
    must be defined in [checks], parallel group checks must be in
    agent.checks, and check commands cannot be empty
  • Add default test-unit check definition so default config validates
  • Add 14 Detector tests exercising actual detection logic with
    controlled env vars (priority ordering, all detection strategies)
  • Add 47 Error type tests covering all variants, constructors,
    Display impls, exit codes, is_user_error, and source chains
  • Add 17 Runner execution tests with real command execution
    (passing/failing/mixed checks, env vars, fail-fast, conditional
    skipping, mode selection, duration recording)
  • Add 15 config deserialization edge case tests (partial configs,
    multiline commands, parallel groups, load from file, invalid TOML)
  • Add 41 CLI parsing tests for all subcommands, aliases, flags,
    mode/preset validation, and color choices
  • Test count: 166 -> 357 (115% increase)

https://claude.ai/code/session_016PE7AHMMQj4m7iLKKppWst

- Add strict config validation: checks referenced in human/agent mode
  must be defined in [checks], parallel group checks must be in
  agent.checks, and check commands cannot be empty
- Add default test-unit check definition so default config validates
- Add 14 Detector tests exercising actual detection logic with
  controlled env vars (priority ordering, all detection strategies)
- Add 47 Error type tests covering all variants, constructors,
  Display impls, exit codes, is_user_error, and source chains
- Add 17 Runner execution tests with real command execution
  (passing/failing/mixed checks, env vars, fail-fast, conditional
  skipping, mode selection, duration recording)
- Add 15 config deserialization edge case tests (partial configs,
  multiline commands, parallel groups, load from file, invalid TOML)
- Add 41 CLI parsing tests for all subcommands, aliases, flags,
  mode/preset validation, and color choices
- Test count: 166 -> 357 (115% increase)

https://claude.ai/code/session_016PE7AHMMQj4m7iLKKppWst
@AngeloGiacco AngeloGiacco merged commit d1ad500 into main Feb 16, 2026
15 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants