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 tofalse
#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 anattachments
field that holds an array of attachment objects.
๐ Fixed Issues