You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also not clear if duration should be rendered in nanoseconds or milliseconds. When I generate HTML report using https://github.com/myie/cucumber-html-reporter as Readme suggests, I get wrong values in HTML, because cucumber-html-reporter assumes duration is in milliseconds. Who is wrong here? is there a well-documented standard for Cucumber json format?
The text was updated successfully, but these errors were encountered:
Looks like both godog and latest version of cucumber-html-reporter are using nanoseconds and report shows duration as expected. I was initially using cucumber-html-reporter 3.0.4 as was mentioned here, which apparently doesn't expect nanoseconds. Closing issue as done.
👓 What did you see?
Produced following report.json
✅ What did you expect to see?
1st step should have duration of 1 second.
2nd step should have duration of 2 seconds.
📦 Which tool/library version are you using?
github.com/cucumber/godog v0.14.0
🔬 How could we reproduce it?
Feature file:
Go test file:
📚 Any additional context?
Also not clear if duration should be rendered in nanoseconds or milliseconds. When I generate HTML report using https://github.com/myie/cucumber-html-reporter as Readme suggests, I get wrong values in HTML, because
cucumber-html-reporter
assumes duration is in milliseconds. Who is wrong here? is there a well-documented standard for Cucumber json format?The text was updated successfully, but these errors were encountered: