All Versions
50
Latest Version
Avg Release Cycle
95 days
Latest Release
-

Changelog History
Page 1

  • v1.0.0

    ⚡️ This is the first major version update of JGiven. It does not introduce major new features, but it introduces backwards-incompatible changes 🗄 due to the removal of all deprecated classes and methods and the drop of Java 7 support.

    🆕 New Features

    • 👍 Java 12 is supported now #397
    • 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 mustaine)
    • @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 mustaine)
    • ➕ Added Portuguese scenario and stage classes #423 (thanks to gandadil)

    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

    🛠 Fixed Issues

    • 👉 Make it easier to copy the stack trace from an error message #380
  • v0.18.2

    September 07, 2019

    🛠 Fixed Issues

    • 🛠 Fixed the setName method introduced in v0.18.0 to correctly update the words in the report #386
  • v0.18.1

    September 04, 2019

    ✅ 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.

    👀 See PR #422 and Issue #312 for details.

    🛠 Fixed Issues

    • 🛠 Fix issue with @Pending(executeSteps = true) that marked a scenario as failed instead of pending #402
    • ✅ Make TestNG ScenarioTestListener work with parallel="tests" option #409
  • v0.18.0

    August 30, 2019

    🆕 New Features

    • The CurrentStep interface has a new method setName to change the name of a step programmatically #386

    🛠 Fixed Issues

    • 🛠 Fixed calculation of minimal thumbnail sizes #417
  • v0.17.1

    January 20, 2019

    🛠 Fixed Issues

    • 🛠 Fix NPE when having @Disabled test in JUnit 5 #376
  • v0.17.0

    November 10, 2018

    🆕 New Features

    • 👍 Java 11 is supported now #370

    🛠 Fixed Issues

    • 🛠 Fixed an issue with JUnit 5 and parameterized tests to get the argument values #372
  • v0.16.1

    September 22, 2018

    🆕 New Features

    • 🚀 First release of the Spock integration #358 (thanks to mustaine)
    • ✅ TestNG SkipExceptions are now recognized #355

    🛠 Fixed Issues

    • 🛠 Fixed a bug that prevented the use of the PowerMockRunner #365
    • 🛠 Fixed a NPE that was thrown when the @Table annotations was used with an empty list #341
  • v0.16.0

    May 20, 2018

    🆕 New Features

    • 👍 Java 10 is supported now #345

    🛠 Fixed Issues

    • 🛠 Fixed an IllegalArgumentException when creating thumbnails for very small images #329 (thanks to maccluca)
    • 🛠 Fixed NPE when using JUnit 5 and one test class has only disabled method #338
    • 🛠 Fixed minor issue in JUnit 5 example that did not generate the HTML 5 report #340

    Backwards Incompatible Changes

    • 👍 Java 6 is not supported anymore
  • v0.15.3

    October 08, 2017

    🛠 Fixed Issues

    • ✂ Removed usages of javax.xml.bind, so that JGiven can be used with Java 9 without hassle #324
  • v0.15.2

    October 08, 2017

    🛠 Fixed Issues

    • 🛠 Fixed JUnit 5.0.0 compilation issue due to API changes #326
    • 🛠 Fixed a NullPointerException in the PojoFormatter when passed object is null #318

    INFO: JGiven HTML App

    The JGiven HTML5 App is extracted into its own project.
    This allows us to develop the HTML5 App independently of JGiven as it is also used by jsGiven, for example. For users of JGiven nothing changes as the HTML5 App is delivered together with JGiven.