refactor: unify test output format and add --fail flag for CI#37
Merged
maxim-uvarov merged 3 commits intomainfrom Jan 2, 2026
Merged
refactor: unify test output format and add --fail flag for CI#37maxim-uvarov merged 3 commits intomainfrom
maxim-uvarov merged 3 commits intomainfrom
Conversation
- Both test types now return flat table: [[type, name, status, file]; ...]
- Add git diff detection for integration test pass/fail status
- Add --update flag to accept changed snapshots (stages files)
- Add consistent terminal output with status indicators (✓ ~ ✗)
- Add section headers ("Unit tests", "Integration tests")
- Add summary line showing passed/failed/changed counts
- Preserve --json flag for CI consumption
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add --fail flag to exit with code 1 if any tests fail - Update CI to use --fail flag - "changed" status (expected snapshot diffs) does not cause failure 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
{type, name, status, file}records--failflag to exit with non-zero code when tests fail (for CI pipelines)--updateflag to auto-stage changed integration test filesmain test-integrationTest plan
--failflag causes non-zero exit on failure--failflag🤖 Generated with Claude Code