Skip to content

Conversation

@TypeLevelConsoli
Copy link
Collaborator

Add insta for snapshot testing messages instead of constructing the expected result.

Insta will automatically compare the message with the snapshot during just test (or cargo test, cargo nextest run), and fail if the message diverges.

To review changes, it's recommended to use cargo-insta CLI, but it's not necessarily needed.

Please, read the create Getting started docs for a introduction to the recommended workflow: https://insta.rs/docs/quickstart/

@github-actions
Copy link
Contributor

Pull Request Test Coverage Report for Build 13950511037

Details

  • 7 of 7 (100.0%) changed or added relevant lines in 2 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage decreased (-0.02%) to 76.225%

Files with Coverage Reduction New Missed Lines %
crates/tap-agent/src/agent/sender_account.rs 1 76.89%
Totals Coverage Status
Change from base Build 13905755288: -0.02%
Covered Lines: 8416
Relevant Lines: 11041

💛 - Coveralls

@TypeLevelConsoli TypeLevelConsoli merged commit 5e84f88 into main Mar 19, 2025
10 checks passed
@TypeLevelConsoli TypeLevelConsoli deleted the insta-test branch March 19, 2025 18:41
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.

5 participants