Plaint Text Stories Comments in output?

Is there an easy way to get a story output that includes comment text
inside
the Scenario?

For example, I have a scenario like

Scenario: User tries to log in with invalid credentials
Card: 5732
Given a visitor
And username: invalid

Then, be able to get a summary/output that includes the Card: 5732 line.
Right now, they aren’t output, as they are ignored by the runner.

Thanks.
-Corey

On Tue, Mar 25, 2008 at 5:56 PM, Corey H. [email protected]
wrote:

Is there an easy way to get a story output that includes comment text inside
the Scenario?

Plain text stories are parsed and turn into objects, then written out
again. There is no way to capture “unknown” lines for now unless you
patch it.

Aslak

On Tue, Mar 25, 2008 at 2:00 PM, aslak hellesoy
[email protected]
wrote:

Okay, thanks. After a bit more thought, I realized that listing out the
contents of the story is the pretty output that I’m looking for. :slight_smile:

-Corey

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs