cucumber/cucumber — Issue #201: --no-multiline does not hide multiline strings
Author: thedjinn
Created: 2011-12-10 14:05:28+00:00
State: open

Consider the following example:

~~~ gherkin
Feature: Hiding multiline strings and tables

Scenario: Hiding tables
Given a table:
| foo | bar |
| quux | ding |

Scenario: Hiding multiline strings
Given a muiltiline string:
"""
hello world
this is a long string
"""
~~~

From the command line usage you can see that the expected functionality of the `--no-multiline` option is as follows:

> Don't print multiline strings and tables under steps.

However, running Cucumber with this option produces this output:

~~~
Feature: Hiding multiline strings and tables

Scenario: Hiding tables # features/bug.feature:2
Given a table: # features/bug.feature:3

Scenario: Hiding multiline strings # features/bug.feature:7
Given a muiltiline string: # features/bug.feature:8
"""
hello world
this is a long string
"""
~~~

The table is clearly hidden, but the multiline string is still visible.