File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ Unreleased
5
5
----------
6
6
7
7
- Drop support for pytest < 3.3.2
8
+ - Step definitions generated by `pytest-bdd generate ` will now `raise NotImplementedError ` by default.
8
9
9
10
3.0.2
10
11
------
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ def test_${ make_python_name(scenario.name)}():
22
22
@${step.type}('${step.name}')
23
23
def ${ make_python_name(step.name)}() :
24
24
"""${step.name}."""
25
+ raise NotImplementedError
25
26
% if not loop.last :
26
27
27
28
Original file line number Diff line number Diff line change @@ -33,20 +33,24 @@ def test_given_and_when_using_the_same_fixture_should_not_evaluate_it_twice():
33
33
@given('1 have a fixture (appends 1 to a list) in reuse syntax')
34
34
def have_a_fixture_appends_1_to_a_list_in_reuse_syntax():
35
35
"""1 have a fixture (appends 1 to a list) in reuse syntax."""
36
+ raise NotImplementedError
36
37
37
38
38
39
@given('I have an empty list')
39
40
def i_have_an_empty_list():
40
41
"""I have an empty list."""
42
+ raise NotImplementedError
41
43
42
44
43
45
@when('I use this fixture')
44
46
def i_use_this_fixture():
45
47
"""I use this fixture."""
48
+ raise NotImplementedError
46
49
47
50
48
51
@then('my list should be [1]')
49
52
def my_list_should_be_1():
50
53
"""my list should be [1]."""
54
+ raise NotImplementedError
51
55
52
56
''' [1 :].replace (u"'" , u"'" ))
You can’t perform that action at this time.
0 commit comments