hurdy-gurdy icon indicating copy to clipboard operation
hurdy-gurdy copied to clipboard

Bump com.approvaltests:approvaltests from 22.3.3 to 24.1.0

Open dependabot[bot] opened this issue 1 year ago • 0 comments

Bumps com.approvaltests:approvaltests from 22.3.3 to 24.1.0.

Release notes

Sourced from com.approvaltests:approvaltests's releases.

Options.addReporter(reporter)

You can call addReporter(reporter) on Options and it will open both/all reporters on test failure.

InlineOptions

BREAKING CHANGE

verify(result, options=Options().inline(expected, showCode=false))
verify(result, options=Options().inline(expected, showCode=true))

is now

verify(result, options=Options().inline(expected, InlineOptions.showCode(false)))
verify(result, options=Options().inline(expected))

New Features

You can now do InlineOptions.automatic() and InlineOptions.semiAutomatic().

ParseInput with 3 parameters

Added ParseInput with 3 parameters and allows arrays as last argument for ParseInput with 2 and 3 Parameters. To understand this you might want to have a look at the python documentation.

23.0.1

Fixes

Fixed a bug where long header threw an exception

New

StringUtils.repeat(text, times);

Minor bugs with InlineApprovals + changes to StringUtils.split

This is mainly fixes to InlineApprovals. But it does contain breaking changes for StringUtils.split().

Breaking changes

StringUtils.split(String, String) no longer trims by default. To maintain previous behavior, call StringUtils.split(String, String, true). StringUtils.split() now takes a regex as the pattern instead of a simple string.

ParseInputs

You can now write tests like

@Test
void testWithTypesTransformersAndBoth()
{
  var expected = """
      1 -> 1
      9 -> 1001
      """;
</tr></table> 

... (truncated)

Commits
  • 892c2b1 - F rename method, same as in python
  • 9a45919 . d updated markdown snippets
  • 7399174 - F Options.addReporter(reporter)
  • b336f9f a reformat code
  • b95b228 . d Added snippet for fake data
  • 9809e10 Bump org.apache.camel:camel-xstream from 3.22.0 to 3.22.2
  • f90d80d Bump com.fasterxml.jackson.core:jackson-databind from 2.17.0 to 2.17.1
  • 2124ba0 Bump com.fasterxml.jackson.core:jackson-annotations
  • a374344 Bump com.fasterxml.jackson.core:jackson-core from 2.17.0 to 2.17.1
  • 1dfca38 v 24.0.0
  • 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 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[bot] avatar May 14 '24 19:05 dependabot[bot]