cucumber / godog

Cucumber for golang
MIT License
2.21k stars 249 forks source link

Fix step duration calculation #616

Closed iaroslav-ciupin closed 1 month ago

iaroslav-ciupin commented 1 month ago

๐Ÿค” What's changed?

โšก๏ธ What's your motivation?

๐Ÿท๏ธ What kind of change is this?

โ™ป๏ธ Anything particular you want feedback on?

๐Ÿ“‹ Checklist:


This text was originally generated from a template, then edited by hand. You can modify the template here.

vearutop commented 1 month ago

Thank you for fixing this. ๐Ÿ‘

aslakhellesoy commented 1 month ago

Hi @iaroslav-ciupin,

Thanks for your making your first contribution to Cucumber, and welcome to the Cucumber committers team! You can now push directly to this repo and all other repos under the cucumber organization! ๐Ÿพ

In return for this generous offer we hope you will:

On behalf of the Cucumber core team, Aslak Hellesรธy Creator of Cucumber

iaroslav-ciupin commented 1 month ago

@vearutop @aslakhellesoy thank you, https://github.com/cucumber/godog/issues/615 in this issue I also asked whether we should return duration in nanoseconds or milliseconds? because cucumber-html-reporter expects milliseconds, but this library currently generates nanoseconds which leads to wrong duration in HTML report