Update for Elm 0.19. Remove Fuzz.andThen, Fuzz.conditional, and Test.Runner.getFailure. Fail on equating floats to encourage checks with tolerance. Test.Runner.fuzz now returns a Result.
renamed from elm-community/elm-test (below) to elm-explorations/test (above)
Fuzzing and shrinking has been reimplemented: the rose tree approach has been
replaced with the "internal shrinking" approach found in the Python test
library Hypothesis.
In short, shrinking is now done on the PRNG history instead of on the generated
values themselves. This is hidden from the user: the Shrink module has now
been removed.
This new approach allows us to reintroduce Fuzz.andThen and remove
Fuzz.custom: in case you were forced to use Fuzz.custom and a Random
generator, you'll now be able to express this logic with Fuzz alone.
We've also taken the opportunity to expand the Fuzz module API with functions
that you'd normally reach into *-extra packages for: sequence, traverse,
listOfLength, intAtLeast etc., and some quality of life helpers like
examples and labelExamples:
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps elm-explorations/test from 2.0.1 to 2.1.0.
Changelog
Sourced from elm-explorations/test's changelog.
... (truncated)
Commits
2bc02f7
Bump to 2.1.078a0697
Merge pull request #209 from elm-explorations/add-textexactly-selectorca9e18c
Rename to exactTextf5e11e4
Update src/Test/Html/Selector.elmc06d4ff
I accidentally a wordf9c51c9
Remove trimming4f8a034
Add textExactly selectorDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)