[rspec-users] Cucumber Custom Logging

aslak hellesoy aslak.hellesoy at gmail.com
Mon Nov 24 14:52:45 EST 2008


On Mon, Nov 24, 2008 at 8:40 PM, James Byrne <lists at ruby-forum.com> wrote:

> Where and how do you put custom logger statements in cucumber?  I
> understood (more or less) how to do this in rspec in the spec_helper
> file but I do not know where to start with cucumber.
>

Are you using any particular framework along with Cucumber? -Like Merb or
other?


>
> I want to add a simple identifying text line in the log file to assist
> in picking through the output.  Something akin to:
>
> Running Scenario: X
>
>  Feature I should have this logged
>    ....
>
>  Feature This should get logged too
>    ....
>
>
> Running Scenario: Y
>
>  Feature This is somewhat different
>    ....
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20081124/7cc3a2bc/attachment.html>


More information about the rspec-users mailing list