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

Output location of `fn` that matched the `Step` #221

Closed ilslv closed 2 years ago

ilslv commented 2 years ago

Synopsis

Often I find myself struggling to find fn, that matched the Step, especially to debug the failure.

Solution

Output step::Location of the fn that matched Step:

Checklist

ilslv commented 2 years ago

FCM

Output location of `fn` matching a `Step` (#221)

Additionally:
- strip `CARGO_MANIFEST_DIR` from output paths whenever is possible