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
563 stars 69 forks source link

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

Closed fluxxone closed 3 months ago

fluxxone commented 4 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 4 months ago

Manual testing confirmed this solves the issue.

tyranron commented 3 months ago

Released as 0.21.1.