Skip to content

feat(test): add compatibility report generator#81

Merged
chaliy merged 2 commits intomainfrom
claude/add-compatibility-score-gqrwr
Feb 2, 2026
Merged

feat(test): add compatibility report generator#81
chaliy merged 2 commits intomainfrom
claude/add-compatibility-score-gqrwr

Conversation

@chaliy
Copy link
Contributor

@chaliy chaliy commented Feb 2, 2026

Summary

Add comprehensive compatibility report that shows per-category statistics and overall bash compatibility score.

Changes

  • Add compatibility_report test in spec_tests.rs
  • Add just compat-report command
  • Update specs/004-testing.md with documentation

Example Output

╔══════════════════════════════════════════════════════════════════╗
║                 BashKit Compatibility Report                     ║
╚══════════════════════════════════════════════════════════════════╝

┌─────────────┬───────┬────────┬─────────┬───────────┬─────────────────┐
│  Category   │ Total │ Passed │ Skipped │ BashDiff  │   Bash Compat   │
├─────────────┼───────┼────────┼─────────┼───────────┼─────────────────┤
│    bash     │  404  │ 294/294│   110   │    21     │ 273/273 (100.0%)│
│     awk     │  89   │  48/48 │   41    │     0     │  48/48  (100.0%)│
│    grep     │  55   │  34/34 │   21    │     0     │  33/34  ( 97.1%)│
│     sed     │  65   │  40/40 │   25    │     0     │  40/40  (100.0%)│
│     jq      │  95   │  58/58 │   37    │     0     │  58/58  (100.0%)│
└─────────────┴───────┴────────┴─────────┴───────────┴─────────────────┘

Summary:
  Bash compatibility: 452/453 (99.8%)

Test plan

  • just compat-report produces expected output
  • All spec tests pass
  • Clippy passes
  • CI passes

https://claude.ai/code/session_01CFh6WZw1QDSGhTnCUW57qi

Add `compatibility_report` test that generates a comprehensive summary
showing per-category statistics and overall bash compatibility score.

Example output:
╔══════════════════════════════════════════════════════════════════╗
║                 BashKit Compatibility Report                     ║
╚══════════════════════════════════════════════════════════════════╝
┌─────────────┬───────┬────────┬─────────┬───────────┬─────────────────┐
│  Category   │ Total │ Passed │ Skipped │ BashDiff  │   Bash Compat   │
├─────────────┼───────┼────────┼─────────┼───────────┼─────────────────┤
│    bash     │  404  │ 294/294│   110   │    21     │ 273/273 (100.0%)│
└─────────────┴───────┴────────┴─────────┴───────────┴─────────────────┘

Run with: just compat-report

Also add justfile command and update spec documentation.

https://claude.ai/code/session_01CFh6WZw1QDSGhTnCUW57qi
@chatgpt-codex-connector
Copy link

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

Update version exemptions for:
- hyper-util: 0.1.19 -> 0.1.20
- insta: 1.46.2 -> 1.46.3
- system-configuration: 0.6.1 -> 0.7.0

https://claude.ai/code/session_01CFh6WZw1QDSGhTnCUW57qi
@chaliy chaliy merged commit c27f8f0 into main Feb 2, 2026
7 checks passed
@chaliy chaliy deleted the claude/add-compatibility-score-gqrwr branch February 2, 2026 14:42
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