-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add more property tests. Use the test_strategy::proptest macro for nice async support. Upstream proptest+tokio issue: proptest-rs/proptest#179 While there is a workaround there, the `prop_assert!` macro didn't seem to work properly. The `assert!` macro does work, but then we see all the output when proptest tries to shrink a failing example. * More unwraps to assert * Add some array tests * hypothesis style naming * fix comment * Better array metadata strategy * Use Arbitrary * rename * Add regression file * bump version * Option<DimensionNames> * More feedbaclk * Move strategies module under tests * Make test-strategy dev dep only * Revert "Make test-strategy dev dep only" This reverts commit 93f5ed5. * cleanup * Tweak one flatmap * Move strategies to new module * Align dimensionname type with spec * Check error types where we can * Implement fmt::Debug trait on Storage * update cargo.toml
- Loading branch information
Showing
8 changed files
with
265 additions
and
38 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Seeds for failure cases proptest has generated in the past. It is | ||
# automatically read and these particular cases re-run before any | ||
# novel cases are generated. | ||
# | ||
# It is recommended to check this file in to source control so that | ||
# everyone who runs the test benefits from these saved cases. | ||
cc 10b7f8cfd2afb88ddee1d4abf0d6f1bb9e6c6bc87af8c2c0d5e90e49d50dede5 # shrinks to path = "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.