Skip to content

Add mutation testing test suite quality#399

Merged
popsman01 merged 5 commits intoTossd-Org:masterfrom
yahia008:add-mutation-testing-test-suite-quality
Mar 31, 2026
Merged

Add mutation testing test suite quality#399
popsman01 merged 5 commits intoTossd-Org:masterfrom
yahia008:add-mutation-testing-test-suite-quality

Conversation

@yahia008
Copy link
Copy Markdown
Contributor

Closes #380

yahia008 and others added 4 commits March 30, 2026 11:53
)

Adds comprehensive Borsh snapshot tests verifying:
- ContractConfig (default/edge/roundtrip)
- ContractStats (zero/production/roundtrip)
- GameState (phases/streaks/roundtrip)
- All enum variants (Side/GamePhase/StorageKey/Error codes)
- Backward compatibility probes

Snapshot update: cargo test update_snapshots
Review: cargo test snapshot_tests -- --nocapture

Catches unintended structure changes and ser/de accuracy.
@drips-wave
Copy link
Copy Markdown

drips-wave bot commented Mar 30, 2026

@yahia008 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@popsman01 popsman01 merged commit 646ff5e into Tossd-Org:master Mar 31, 2026
1 check failed
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.

Title: Add mutation testing for test suite quality

2 participants