Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Test case for the PrettyFormatter #544
Add a test case for the PrettyFormatter to verify that the pretty formatter aligns the location strings correct, when a scenario is executed with Cucumber-JVM.
This test case expose the well known IndexOutOfBoundsException in Cucumber-JVM 1.1.3. It also shows that when using the current snapshot of the Gherkin library (cucumber-attic/gherkin@74bb687) the pretty formatter still does not align the location strings correctly.
The test case is something of an acceptance test for resolving the miss match between the expectations of the pretty formatter in the Gherkin libarary and the formatter call sequence in Cucumber-JVM.