[rspec-users] Cucumber Custom Logging

James Byrne lists at ruby-forum.com
Mon Nov 24 14:40:04 EST 2008


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.

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/.


More information about the rspec-users mailing list