-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--no-multiline does not hide multiline strings #201
Comments
I never cease to be amazed by the command-line switches people have added to Cucumber. Why would anyone want this option? |
I use Cucumber mostly to spec out the behavior for command line applications. In that case the scenarios usually have the following structure: Scenario: Foo
Given a file named "foo" with:
"""
some big file here, e.g. XML data
"""
When I run `mycmd foo`
Then the output should contain exactly:
"""
some big output here
""" If you have a lot of these scenarios then Cucumber's output will get very cluttered. By hiding the multiline strings you can get a clear overview of the steps involved without showing too much detail. |
@tooky fancy taking a look at this one? |
Ahh too late, @mattwynne - thanks @dkowis! |
@tooky I didn't pay attention before I noticed that @mattwynne poked you about it. I did it wrong the first time anyway :) |
fixed by #418 |
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. |
Consider the following example:
From the command line usage you can see that the expected functionality of the
--no-multiline
option is as follows:However, running Cucumber with this option produces this output:
The table is clearly hidden, but the multiline string is still visible.
The text was updated successfully, but these errors were encountered: