cucumber-attic / cucumber-html

Cross platform HTML formatter for all implementations of Cucumber
Other
40 stars 49 forks source link

Cucumber report doesn't contain output generated by Scenario (like printed strings) #28

Closed seaman1 closed 5 years ago

seaman1 commented 10 years ago

Test case: try to print string

feature file:

Feature: Test feature
  Scenario: Print string
    When I print string "my string"

procedure file:

def printstring(string)
    puts "This is printed string #{string}"
end

steps file:

And /^I print string "(.*?)"$/ do |string|
  on_page(CommonActions).printstring(string)
end

Actual result: HTML report doesn't contain text output generated by Scenario (in my case this should be string: "This is printed string my string") Console output contains this string.

Expected result: HTML report should contain output generated by Scenario, like printed strings

mpkorstanje commented 5 years ago

cucumber-html has fallen into disuse and has been inlined into cucumber-jvm. If this issue is still relevant please direct it there.