@@ -17,16 +17,17 @@ Feature: Scenario outline
1717 """
1818 from pytest_bdd import scenario
1919 from pytest_bdd import given, then, when
20+ from pytest_bdd.parsers import cfparse
2021
21- @given("< first> step")
22+ @given(cfparse("{ first} step") )
2223 def given_step(first):
2324 pass
2425
2526 @when("do nothing")
2627 def nope_step():
2728 pass
2829
29- @then("step with < second> param")
30+ @then(cfparse( "step with { second} param") )
3031 def then_step(second):
3132 pass
3233
@@ -37,15 +38,11 @@ Feature: Scenario outline
3738 When run pytest-bdd with allure
3839
3940 Then allure report has result for "Outline example" scenario
40- Then this scenario has parameter "first" with value "Alpha"
41- Then this scenario has parameter "second" with value "1"
42- Then this scenario contains "Given <Alpha> step" step
43- Then this scenario contains "Then step with <1> param" step
41+ Then this scenario contains "Given Alpha step" step
42+ Then this scenario contains "Then step with 1 param" step
4443
4544 Then allure report has result for "Outline example" scenario
46- Then this scenario has parameter "first" with value "Bravo"
47- Then this scenario has parameter "second" with value "2"
48- Then this scenario contains "Given <Bravo> step" step
49- Then this scenario contains "Then step with <2> param" step
45+ Then this scenario contains "Given Bravo step" step
46+ Then this scenario contains "Then step with 2 param" step
5047
5148
0 commit comments