Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Step messages not diaplayed in results #22

Open
uscengineer opened this issue Feb 9, 2014 · 0 comments
Open

Step messages not diaplayed in results #22

uscengineer opened this issue Feb 9, 2014 · 0 comments

Comments

@uscengineer
Copy link

If I output to the normal HTML any "puts" show up. However if I use the pretty_face output they do not. Normally we don't print in the steps but needed it for only one scenario.
To env.rb I added:
Before do |scenario|
$world = self
end

In the step I used:
$world.puts "Fruit name: #{fruit_name}"

When outputting to html it shows up as

  • Fruit name: Washington Apple
  • Any way to have the prints appear in the results file with pretty_face?
    Thanks.

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    None yet
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant