Skip to content

Commit 6ba231f

Browse files
Converting tests (#367)
* Converting tests to use the correct pytest methodology for plugins
1 parent be94d2e commit 6ba231f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+1349
-987
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ PATH := .env/bin:$(PATH)
66

77
# install all needed for development
88
develop: .env
9-
pip install -e . -r requirements-testing.txt tox python-coveralls
9+
.env/bin/pip install -e . -r requirements-testing.txt tox python-coveralls
1010

1111
coverage: develop
1212
coverage run --source=pytest_bdd .env/bin/py.test tests

pytest_bdd/reporting.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212

1313
class StepReport(object):
14-
1514
"""Step excecution report."""
1615

1716
failed = False
@@ -62,7 +61,6 @@ def duration(self):
6261

6362

6463
class ScenarioReport(object):
65-
6664
"""Scenario execution report."""
6765

6866
def __init__(self, scenario, node):

tests/args/test_arg_fixture_mix.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,4 +100,4 @@ def test_bar(foo):
100100
)
101101

102102
result = testdir.runpytest("-k arg_fixture_mix")
103-
assert result.ret == 0
103+
result.assert_outcomes(passed=4)

tests/feature/alias.feature

Lines changed: 0 additions & 9 deletions
This file was deleted.

tests/feature/background.feature

Lines changed: 0 additions & 18 deletions
This file was deleted.

tests/feature/comments.feature

Lines changed: 0 additions & 8 deletions
This file was deleted.

tests/feature/conftest.py

Lines changed: 0 additions & 11 deletions
This file was deleted.

tests/feature/description.feature

Lines changed: 0 additions & 12 deletions
This file was deleted.

tests/feature/gherkin_terminal_reporter.feature

Lines changed: 0 additions & 47 deletions
This file was deleted.

tests/feature/given_after_then.feature

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)