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.