JGiven v0.13.0 Release Notes

  • Backwards Incompatible Changes

    In order to fix issue #239, a backwards incompatible change had to be done:

    • The ScenarioBase class is now abstract, because the method getScenario() was made abstract. Thus, subclasses have to implement the getScenario() method. As, in general, you should have inherited either from ScenarioTest or SimpleScenarioTest the change should most likely not effect you. If you have directly inherited from ScenarioBase, have a look at the ScenarioTest class of how to implement the getScenario() method.

    ๐Ÿ†• New Features

    • Custom annotations can now also be defined for the @Table annotation #235
    • In addition to text and images, all kinds of media types can now be used as attachments #228 (thanks to ahus1)

    Small Improvements

    • Assertion errors shown in the HTML report respect line breaks now. #234

    ๐Ÿ› Bug Fixes

    • โœ… TestNG: executing test methods in parallel is now possible. #239
    • Correctly handle nested steps in parametrized scenarios. #248
    • Correctly report pending status of parametrized scenarios. #200
    • โœ… Spring: added support for executing Spring tests with the Spring JUnit rules instead of the Spring test runner. #250