cucumber-rs / cucumber

Cucumber testing framework for Rust. Fully native, no external test runners or dependencies.
https://cucumber-rs.github.io/cucumber/main
Apache License 2.0
579 stars 70 forks source link

(De)serialize status field as lowercase, as per schema. #335

Closed fluxxone closed 4 months ago

fluxxone commented 6 months ago

When running cucumber-html-reporter against a generated json report, I noticed all the steps are classified as skipped. When manually the status to lowercase (Passed -> passed, etc), the report is correctly processed.

I checked out JSON schema linked in the book, which confirms that status is represented in lowercase.

fluxxone commented 6 months ago

Manual testing confirmed this solves the issue.

tyranron commented 4 months ago

Released as 0.21.1.