Fixed the setName method introduced in v0.18.0 to correctly update the words in the report #386
v0.18.1
Exception handling changed for TestNG
When using TestNG, exceptions are not longer caught and suppressed until the end of a scenario.
This means that steps following a failed step are no longer shown in the scenario report.
This change was needed to ensure that TestNG reports the correct test status in case of an exception.
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
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.
Fixed the setName method introduced in v0.18.0 to correctly update the words in the report #386
v0.18.1
Exception handling changed for TestNG
When using TestNG, exceptions are not longer caught and suppressed until the end of a scenario.
This means that steps following a failed step are no longer shown in the scenario report.
This change was needed to ensure that TestNG reports the correct test status in case of an exception.
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
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.
Fixed the setName method introduced in v0.18.0 to correctly update the words in the report #386
v0.18.1
Exception handling changed for TestNG
When using TestNG, exceptions are not longer caught and suppressed until the end of a scenario.
This means that steps following a failed step are no longer shown in the scenario report.
This change was needed to ensure that TestNG reports the correct test status in case of an exception.
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
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.
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 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 use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Bumps
jgiven.version
from 0.14.0 to 1.0.0. Updatesjgiven-junit
from 0.14.0 to 1.0.0Release notes
Sourced from jgiven-junit's releases.
... (truncated)
Changelog
Sourced from jgiven-junit's changelog.
... (truncated)
Commits
e9911ca
Update version to 1.0.097d5b7a
Merge pull request #470 from TNG/Issue-466-junit5-documentationd899839
Update version to 1.0.0-RC7be9fcf4
Merge pull request #514 from TNG/update-versions-and-timeout1ee810b
increase number of retries for releasec8159d4
Issue-478: update version in example-projects73e7a61
bump staging plugin version to 0.22.090cd989
Merge pull request #512 from TNG/fix_failing_java9_test43b11f1
Merge pull request #511 from TNG/fix-build-errorsd433a69
Changed java9 to junit 5 in releasRepositoryAndPushVersion to avoid failing g...Updates
jgiven-spring
from 0.14.0 to 1.0.0Release notes
Sourced from jgiven-spring's releases.
... (truncated)
Changelog
Sourced from jgiven-spring's changelog.
... (truncated)
Commits
e9911ca
Update version to 1.0.097d5b7a
Merge pull request #470 from TNG/Issue-466-junit5-documentationd899839
Update version to 1.0.0-RC7be9fcf4
Merge pull request #514 from TNG/update-versions-and-timeout1ee810b
increase number of retries for releasec8159d4
Issue-478: update version in example-projects73e7a61
bump staging plugin version to 0.22.090cd989
Merge pull request #512 from TNG/fix_failing_java9_test43b11f1
Merge pull request #511 from TNG/fix-build-errorsd433a69
Changed java9 to junit 5 in releasRepositoryAndPushVersion to avoid failing g...Updates
jgiven-html5-report
from 0.14.0 to 1.0.0Release notes
Sourced from jgiven-html5-report's releases.
... (truncated)
Changelog
Sourced from jgiven-html5-report's changelog.
... (truncated)
Commits
e9911ca
Update version to 1.0.097d5b7a
Merge pull request #470 from TNG/Issue-466-junit5-documentationd899839
Update version to 1.0.0-RC7be9fcf4
Merge pull request #514 from TNG/update-versions-and-timeout1ee810b
increase number of retries for releasec8159d4
Issue-478: update version in example-projects73e7a61
bump staging plugin version to 0.22.090cd989
Merge pull request #512 from TNG/fix_failing_java9_test43b11f1
Merge pull request #511 from TNG/fix-build-errorsd433a69
Changed java9 to junit 5 in releasRepositoryAndPushVersion to avoid failing g...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 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 use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)