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 jgiven-junit from 0.18.2 to 1.0.0 #115

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 4, 2021

Bumps jgiven-junit from 0.18.2 to 1.0.0.

Release notes

Sourced from jgiven-junit's releases.

v1.0.0-RC7

seventh release candidate for JGiven. Functionally equivalent to RC6 The binaries may be found here: https://search.maven.org/search?q=g:com.tngtech.jgiven%20AND%20v:1.0.0-RC7

v1.0.0-RC6

the current packages can be found at:

Changelog

Sourced from jgiven-junit's changelog.

v1.0.0

This is the first major version update of JGiven. It does introduce new features, as well as backwards-incompatible changes, due to the removal of all deprecated classes and methods and the drop of Java 7 support.

New Features

  • Additon of @FillerWords to prepend scenario stage methods. #472 (thanks to richard-stowe)
  • Java 13 is supported now #447 (thanks to jsalinaspolo)
  • The CurrentStep interface has a new method setName to change the name of a step programmatically #386
  • Updated the Guava dependency to v27.1-jre #398
  • Added DualScenarioTest #406 (thanks to jangalinksi)
  • Upgraded Gradle Plugin to support Gradle 5 and 6 #381 (thanks to jsalinaspolo)
  • @Pending can now be added to the test class to make all scenarios of that class pending #403
  • Added new option 'jgiven.report.dry-run' to generate a report without really executing the tests #435 (thanks to jsalinaspolo)
  • Added Portuguese scenario and stage classes #423 (thanks to gandadil)
  • Added French scenario and stage classes #488 (thanks to ecattez)

Spring 5 with JUnit 5

To better support Spring 5 with JUnit 5 the jgiven-spring module has been split up into three modules. You need to adapt your dependencies accordingly. If you are using JUnit 4 use the jgiven-spring-junit4 module. If you are using Spring 5 with JUnit 5 then use the jgiven-spring-junit5 module.

Backwards Incompatible Changes

  • Java 7 is not supported anymore
  • Calling stage methods annotated with @DoNotIntercept or declared within java.lang.Object will not trigger a stage change anymore #385
  • The Guava dependency changed to v27.1-jre. This might lead to problems in case your project also depends on Guava

Cleaned up Module Dependencies

Some direct module dependencies have been removed. This means that you might have to add additional dependencies to your build:

  • jgiven-junit has no direct junit dependency anymore and no direct dependency to jgiven-html5-report

Removed Deprecated Features

All deprecated methods and classes have been removed. Please adapt your code according to the JavaDoc documentation.

  • Removed @NotImplementedYet annotation. Use @Pending instead.
  • Removed @CaseDescription annotation. Use @CaseAs instead.
  • Removed CaseDescriptionProvider. Use CaseAsProvider instead.
  • Removed DefaultCaseDescriptionProvider. Use DefaultCaseAsProvider instead.
  • Removed com.tngtech.jgiven.junit.de.SzenarioTest. Use com.tngtech.jgiven.junit.lang.de.SzenarioTest instead.
  • Removed ScenarioExecutionRule. Use JGivenMethodRule instead.
  • Removed ScenarioReportRule. Use JGivenClassRule instead.
  • Removed SpringCanWire

... (truncated)

Commits
  • e9911ca Update version to 1.0.0
  • 97d5b7a Merge pull request #470 from TNG/Issue-466-junit5-documentation
  • d899839 Update version to 1.0.0-RC7
  • be9fcf4 Merge pull request #514 from TNG/update-versions-and-timeout
  • 1ee810b increase number of retries for release
  • c8159d4 Issue-478: update version in example-projects
  • 73e7a61 bump staging plugin version to 0.22.0
  • 90cd989 Merge pull request #512 from TNG/fix_failing_java9_test
  • 43b11f1 Merge pull request #511 from TNG/fix-build-errors
  • d433a69 Changed java9 to junit 5 in releasRepositoryAndPushVersion to avoid failing g...
  • 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 dependabot bot requested a review from basil March 4, 2021 06:03
Copy link
Member

@basil basil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot merge

@dependabot dependabot bot merged commit 8d2564e into master Mar 4, 2021
@dependabot dependabot bot deleted the dependabot/maven/com.tngtech.jgiven-jgiven-junit-1.0.0 branch March 4, 2021 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant