Skip to content

Raise confidence in adopting existing branches - #76

Merged
rohoswagger merged 1 commit into
mainfrom
test/track-cli-coverage
Aug 4, 2026
Merged

Raise confidence in adopting existing branches#76
rohoswagger merged 1 commit into
mainfrom
test/track-cli-coverage

Conversation

@rohoswagger

@rohoswagger rohoswagger commented Aug 1, 2026

Copy link
Copy Markdown
Owner

Summary

  • exercise ez track through the compiled CLI against real temporary Git repositories
  • verify explicit and inferred parent selection plus receipt/state persistence
  • verify rejection paths are atomic and leave stack metadata unchanged

Verification

  • cargo test --test track_cli -- --nocapture (10 passed)
  • cargo test --all-targets --all-features
  • cargo fmt --check
  • cargo clippy --all-targets --all-features -- -D warnings

Coverage impact

src/cmd/track.rs line coverage rises from roughly 46% to 85.71% without production-code changes.

Exercise ez track against real Git repositories so parent inference, state persistence, receipts, and failure atomicity are protected at the CLI boundary.\n\nConstraint: Coverage must validate actual Git state rather than mocks.\nConfidence: high\nScope-risk: narrow\nReversibility: clean\nTested: cargo test --test track_cli; cargo test --all-targets --all-features; cargo fmt --check; cargo clippy --all-targets --all-features -- -D warnings\nNot-tested: GitHub-hosted remote branch adoption
@rohoswagger
rohoswagger merged commit f6542fb into main Aug 4, 2026
6 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.

1 participant