Releases: TNG/JGiven
v0.11.1
New Features
HTML Report size reduction
- The size of the HTML report has been greatly reduced by compressing the scenario data with gzip. This significantly reduces the load time of large reports on slow network connections. #186
Fixed Issues
- HTML Report: fixed an issue with the search input in the mobile menu that was hidden on mobile devices when the virtual keyboard appeared. #182
- JUnit: throwing an AssumptionViolationException will not lead to a failed scenario anymore. Instead, the scenario will be ignored and will not appear in the report at all. #185
v0.11.0
New Features
Sections
Scenarios can have sections now. This allows you to structure larger scenarios into several parts with a title. PR#181
Example:
section("This is a section title");
given().something();
when().something();
section("This is another section title");
when().something_else();
then().something();
Sections appear in the console output as well as the HTML report.
Changes regarding colors in the console output
The color used in the console output has been changed. It is now less colorful and usable on dark and light backgrounds. Setting the system property jgiven.report.text.color to true now always enables the color output, even if the output is not a TTY.
Fixed Issues
v0.10.1
New Features
Nested Steps
Steps can now have nested steps that are shown in the report. This is done by annotating parent steps with the new @NestedSteps annotation. #17, PR#174. Thanks to @albertofaci!
Additional Table Formatting Options
The @Table annotation to format step parameters as tables has been extended with several options to further customize the formatting of the resulting tables. #122
Other Features
- HTML Report: case tables have sortable columns #175
- HTML Report: case tables can be grouped by values #168
- Exception type is now added to the error message of a failed step #154
Fixed Issues
v0.10.0
v0.9.5
Fixed Issues
- Fixed issue with primitive arrays and the @table annotation #162
- Fixed an issue when using the
@Tableparameter that could lead to unwanted parameters in the data table #161 - Fixed an issue with the Maven Plugin where the customJsFile parameter actually set the customCssFile parameter #167
- Fixed an issue with the @table annotation when combining numberedRows with columnTitles #166
- Fixed an issue in the console report that new lines a data table messed up the layout of the table #152
New Features
v0.9.4
New Features
- Spring support has been simplified by a new annotation
@EnableJGivenand XML element<jgiven:annotation-driven />. Special thanks to TripleNail for this contribution. #153 - Scenarios without steps can now be excluded from the report by using the new
--exclude-empty-scenariosreport generator option #151 - Underlines in parameter names are now replaced with spaces in the report #147
- HTML Report: highlight failing cases of a scenario #150
- HTML Report: indicate the number of failed cases #156
- HTML Report: limit the width of columns in the data table #141
Fixed Issues
- Fixed an issue that blank values could not be formatted #157
- Fixed an issue that the total duration of a scenario was shown as the duration of the first case instead of the sum of all case #155
- HTML Report: fixed the minor issue that clicking the status doughnot does not work when the report has just been opened #149