Skip to content
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

build(deps): bump elm-explorations/test from 2.1.2 to 2.2.0 #432

Merged
merged 2 commits into from
Jun 13, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 22, 2024

Bumps elm-explorations/test from 2.1.2 to 2.2.0.

Changelog

Sourced from elm-explorations/test's changelog.

Releases

Version Notes
2.2.0 Fuzz: Add Fuzz.filterMap
2.1.2 Fuzz: Remove arbitrary limit on amount of randomness drawn
2.1.1 Test.Html.Query: Change how boolean attributes are rendered
2.1.0 Add Test.Html.Selector.exactText
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

... (truncated)

Commits
  • d7b5710 Bump to 2.2.0 (Fuzz.filterMap)
  • 5122599 Merge pull request #220 from mbaechler/fuzzer-filterMap
  • df52129 Merge remote-tracking branch 'upstream/master' into fuzzer-filterMap
  • 81b15e2 Fix the elm-explorations/test dependency in tests/elm.json
  • 099edd4 fixup! Add Fuzz.filterMap
  • 55c4cd2 fixup! Add Fuzz.filterMap
  • fc66bf7 Add Fuzz.filterMap
  • See full diff 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file elm Pull requests that update Elm code labels Jan 22, 2024
@dependabot dependabot bot requested a review from r-k-b January 22, 2024 19:38
@r-k-b
Copy link
Owner

r-k-b commented Jun 13, 2024

@dependabot rebase

Bumps [elm-explorations/test](https://github.com/elm-explorations/test) from 2.1.2 to 2.2.0.
- [Changelog](https://github.com/elm-explorations/test/blob/master/CHANGELOG.md)
- [Commits](elm-explorations/test@2.1.2...2.2.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/elm/elm-explorations/test-2.2.0 branch from a9804b4 to 2053407 Compare June 13, 2024 01:33
@r-k-b r-k-b merged commit 6b3ff95 into main Jun 13, 2024
9 checks passed
@r-k-b r-k-b deleted the dependabot/elm/elm-explorations/test-2.2.0 branch June 13, 2024 01:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file elm Pull requests that update Elm code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant