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

Pass `event::ScenarioFinished` to after hook handler (#245) #246

Closed ilslv closed 1 year ago

ilslv commented 1 year ago

Synopsis

245

Solution

Pass event::ScenarioFinished to after hook handler.

Checklist

ilslv commented 1 year ago

FCM

Pass `event::ScenarioFinished` to after hook (#246, #245)

Additionally:
- catch panics in user code, when they happen before returned futures are polled