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

Fix retries with fail on skipped (#249) #250

Closed ilslv closed 1 year ago

ilslv commented 1 year ago

Synopsis

249

Solution

Don't pass info about number of retries, when transforming Skipped event into a Failed.

Checklist

ilslv commented 1 year ago

FCM

Fix not panicking on `fail_on_skipped()` with retries (#250, #249)

- add `NotFound` variant to `event::StepError`