You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2-3Lines changed: 2 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -19,9 +19,8 @@ All user visible changes to `cucumber` crate will be documented in this file. Th
19
19
- Provide reference implementations for those abstractions;
20
20
- Enable `macros` feature by default.
21
21
- Replaced `#[given(step)]`, `#[when(step)]` and `#[then(step)]` function argument attributes with a single `#[step]`. ([#128])
22
-
- Made test callbacks arguments consistent with proc macros: ([#128])
23
-
-`&mut World` instead of `World` as a first parameter;
24
-
-`Step` instead of `StepContext` as a second one.
22
+
- Made test callbacks first argument `&mut World` instead of `World`. ([#128])
23
+
- Made `#[step]` argument of step functions `Step` instead of `StepContext` again, while test callbacks still receive `StepContext` as a second parameter. ([#128])
25
24
- CLI and [hooks](https://cucumber.io/docs/cucumber/api/#hooks) were removed, but are planned to be re-implemented with some changes in `0.11` release. ([#128])
0 commit comments