Skip to content

Test case for the PrettyFormatter #544

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 2 commits into from
Jul 16, 2013

Conversation

brasmusson
Copy link
Contributor

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/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.

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.
brasmusson added a commit to brasmusson/cucumber-jvm that referenced this pull request Jul 14, 2013
Verify that the changes in PR cucumber#557 indeed fixes cucumber#491 and the other
reports of that the PrettyFormatter is broken.
Now when cucumber-jvm has reveted to all-steps-first execution, the
test case for the PrettyFormatter should pass.
brasmusson added a commit that referenced this pull request Jul 16, 2013
Merge pull request #544 Test case for the PrettyFormatter
Update the History.md
@brasmusson brasmusson merged commit 09c71de into cucumber:master Jul 16, 2013
@brasmusson brasmusson deleted the pretty-formatter-test branch August 3, 2013 16:28
@lock
Copy link

lock bot commented Oct 25, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Oct 25, 2018
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant