Skip to content
This repository has been archived by the owner on Oct 17, 2022. It is now read-only.

Bump elm-explorations/test from 1.2.2 to 2.0.1 #907

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 12, 2022

Bumps elm-explorations/test from 1.2.2 to 2.0.1.

Changelog

Sourced from elm-explorations/test's changelog.

Releases

Version Notes
2.0.1 Documentation fixes
2.0.0 Reimplements fuzzing+shrinking, adds fuzzer distribution reporting. Most notably readds Fuzz.andThen. See "Changes in 2.0.0"
1.2.2 Fixes a crash in Test.Html when the HTML contains nested Html.Lazy nodes. #78
1.2.1 Many small documentation fixes. Improve error messages when failing to simulate an event.
1.2.0 Add HTML tests. #41
1.0.0 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)
4.0.0 Add only, skip, todo; change Fuzz.frequency to fail rather than crash on bad input, disallow tests with blank or duplicate descriptions.
3.1.0 Add Expect.all
3.0.0 Update for Elm 0.18; switch the argument order of Fuzz.andMap.
2.1.0 Switch to rose trees for Fuzz.andThen, other API additions.
2.0.0 Scratch-rewrite to project-fuzzball
1.0.0 ElmTest initial release

Changes in 2.0.0

The changes can be grouped into these categories:

  1. Fuzzing and shrinking reimplementation (re-adding Fuzz.andThen etc.)
  2. Test.Distribution: fuzzer distribution reporting
  3. Test.Html.Event additions
  4. Expect.true and Expect.false removal
  5. Test.Runner.Failure.format removal
  6. Fuzzer behaviour changes

1. Fuzzing and shrinking reimplementation

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:

> import Fuzz
</tr></table> 

... (truncated)

Commits
  • 12e83b4 Merge pull request #203 from elm-explorations/fix-example-in-fuzz-docs
  • 8d2199d Qualify functions in docs
  • b510d2c Bump to 2.0.1
  • cbe3596 elm-review docs fixes
  • 841b35c Tweak the andThen documentation
  • 480e012 Fix Fuzz.frequencyValues docs as well
  • b2e014c Fix examples in docs for Fuzz.andThen and Fuzz.filter
  • d84a561 Merge pull request #201 from elm-explorations/bump-to-2-0-0
  • f15dee6 Add notes about Unicode strings
  • be3c385 Update changelog wrt. coverage->distribution renaming
  • Additional commits viewable in compare view

Dependabot compatibility score

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](https://github.com/elm-explorations/test) from 1.2.2 to 2.0.1.
- [Release notes](https://github.com/elm-explorations/test/releases)
- [Changelog](https://github.com/elm-explorations/test/blob/master/CHANGELOG.md)
- [Commits](elm-explorations/test@1.2.2...2.0.1)

---
updated-dependencies:
- dependency-name: elm-explorations/test
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants