-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: data format snapshot tests #314
Conversation
Deciding to push exhaustive tree history snapshotting the to another PR. |
9f6bf3b
to
4f93b5b
Compare
Codecov Report
@@ Coverage Diff @@
## main #314 +/- ##
==========================================
+ Coverage 56.33% 57.56% +1.22%
==========================================
Files 43 45 +2
Lines 3172 3271 +99
Branches 770 806 +36
==========================================
+ Hits 1787 1883 +96
+ Misses 891 845 -46
- Partials 494 543 +49
|
Wasm tests error out weirdly:
|
The suggestions given by the nightly linter are incorrect and I'm not sure what is causing it. |
Hmm. Related to this? rust-lang/rust-clippy#11179 Nightly should be the latest latest clippy though, right? That issue seems to be fixed already. Is it a clippy regression? |
If we can't manage to fix the issue, can we add a bunch of |
Or we could ignore the errors since it is likely going to fix itself in the future. |
Hmmm. As long as these directives are very local, I think they're not too bad. If you think about it: In both cases we're ignoring errors. In one case we're ignoring them for the whole project, in the other we're ignoring them for only a couple of methods. |
|
Ugh. That's so annoying |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome stuff! Thanks so much.
There's some nits, some naming suggestions, one weird output, but I trust you with the rest :)
wnfs/src/snapshots/wnfs__root_tree__snapshot_tests__root_filesystems.snap
Outdated
Show resolved
Hide resolved
Signed-off-by: Stephen Akinyemi <[email protected]>
This PR adds snapshot tests for the data format of WNFS.
The tests are identifiable by their encapsulating module,
snapshot_tests
.This PR implements the following features
Test plan (required)
Snapshot tests
cargo insta test --check -- snapshot_tests
Testing
scripts/rs-wnfs test
Closing issues