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

Bump elm-explorations/test from 2.1.2 to 2.2.0 in /src/client #102

Merged

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 requested a review from jerith666 as a code owner January 22, 2024 17:40
@dependabot dependabot bot added dependencies Pull requests that update a dependency file elm Pull requests that update Elm code labels Jan 22, 2024
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]>
@jerith666 jerith666 force-pushed the dependabot/elm/src/client/elm-explorations/test-2.2.0 branch from 6f97b24 to c2954bf Compare January 22, 2024 23:41
@jerith666 jerith666 merged commit c2954bf into dev Jan 22, 2024
4 checks passed
@dependabot dependabot bot deleted the dependabot/elm/src/client/elm-explorations/test-2.2.0 branch January 22, 2024 23:55
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