Skip to content

Commit

Permalink
change the wording in the contribution guide as requested
Browse files Browse the repository at this point in the history
Co-authored-by: Predrag Gruevski <[email protected]>
  • Loading branch information
CommanderStorm and obi1kenobi authored Oct 1, 2024
1 parent f0f7d9c commit ba6bd8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ an argument: `./scripts/regenerate_test_rustdocs.sh +nightly`.

## What are those `.snap` or `.snap.new` files generated via `cargo test`

Next to the regular testcase strategies, we also utilise snapshot testing.
As part of our overall testing strategy, we use a technique called "snapshot testing."
The tool we use for this ([`insta`](https://insta.rs/docs/)) is user friendly and has mutliple ways to interact with it:

These snapshots are by default written to `.snap.new` files (because `INSTA_UPDATE` explained below defaults to `auto`) if they differ and fail the testcase.
Expand Down

0 comments on commit ba6bd8f

Please sign in to comment.