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 com.approvaltests:approvaltests from 22.3.3 to 24.2.0 #299

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 21, 2024

Bumps com.approvaltests:approvaltests from 22.3.3 to 24.2.0.

Release notes

Sourced from com.approvaltests:approvaltests's releases.

InlineOptions.semiAutomaticWithPreviousApproved()

No release notes provided.

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 = """
</tr></table> 

... (truncated)

Commits
  • 30153b3 a reformat code
  • 48e5460 - F InlineOptions.semiAutomaticWithPreviousApproved()
  • 2f264d8 Bump commons-logging:commons-logging from 1.3.1 to 1.3.2
  • 1cdf86f v 24.1.0
  • 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
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

updated-dependencies:
- dependency-name: com.approvaltests:approvaltests
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label May 21, 2024
@inponomarev inponomarev merged commit 9647e7e into master Jul 12, 2024
1 check passed
@dependabot dependabot bot deleted the dependabot/maven/com.approvaltests-approvaltests-24.2.0 branch July 12, 2024 10:24
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant