On Tue, Apr 14, 2009 at 10:03 PM, Stephen E. [email protected] wrote:
On Tue, Apr 14, 2009 at 10:37 PM, Stephen E. [email protected] wrote:
All right, never mind. Having been given enough clues that the
feature exists and what it generally might look like, I prowled
through Cucumber’s specs and examples until I got a clearer picture.
Then, to keep my ‘There ain’t no documentation!’ whining privileges, I
went and added what I learned to the wiki:http://wiki.github.com/aslakhellesoy/cucumber/multiline-step-arguments
This is fantastic! I admit that I must gave skimmed over the that in
the book, but your wiki page made it very clear.
I wrote some steps that call a command and capture the output with
IO@popen. In my code I was testing, I used puts everywhere and could
not figure out how to match the newlines in Cuke,
E.g.
Then the output should be
“”"
“”"
Scenarios:
|command|args|output|
|option|:dummy|-d, --[no]-dummy|
Thanks for the wiki page!
Cheers,
Ed
Ed Howland