JGiven v0.12.0 Release Notes

  • ๐Ÿ†• New Features

    • โž• Added possibility to use JGiven in JUnit by just using two rules. No deriving from ScenarioTest is necessary anymore, see #232
    • ๐Ÿ‘ Allow multiple formatter annotations on arguments, e.g., "@Quoted @YesNo", see #204.
    • โž• Added a new comment() method to provide further information on specific step method invocations, see #50.
    • Steps can now have multiple attachments #194.
    • ๐Ÿท Tags can now be hidden from the navigation bar in the HTML report by setting the showInNavigation attribute to false #211.
    • โž• Added a new CurrentScenario interface similar to CurrentStep.
    • ๐Ÿ‘€ The CurrentScenario interface allows adding tags programmatically, see #172.
    • ๐Ÿ‘ Allow tag annotations on step methods and step classes.
    • ๐Ÿ‘€ Extended the @As annotation with a provider mechanism, see #189.

    ๐Ÿ’ฅ Breaking Changes in the JSON model

    • Due to the introduction of multiple attachments per step, the JSON model had to be changed in an backwards-incompatible way. Instead of a single field attachment that holds a single attachment object, a step has now an attachments field that holds an array of attachment objects.

    ๐Ÿ›  Fixed Issues

    • ๐Ÿ›  Fixed an issue that step methods that are all uppercase are formatted in an unexpected way #221
    • ๐Ÿ›  Fixed an issue that newlines of formatted arguments have not been formatted in the HTML5 report #226