Skip to content

v0.11.0

Compare
Choose a tag to compare
@janschaefer janschaefer released this 07 Jan 08:11
· 2452 commits to master since this release

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

  • Fixed an issue with carriage returns messing up the cases table. #178
  • Fixed an issue with certain characters used in a @CaseDescription annotation. #177