File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -71,15 +71,15 @@ Below are some common options (just remember to use `pipenv`):
71
71
# run all tests
72
72
pytest
73
73
74
- # filter tests by step module
74
+ # filter tests by test module
75
75
# note: feature files cannot be run directly
76
76
pytest tests/step_defs/test_unit_basic.py
77
77
pytest tests/step_defs/test_unit_outlines.py
78
78
pytest tests/step_defs/test_unit_service.py
79
79
pytest tests/step_defs/test_unit_web.py
80
80
81
81
# filter tests by tags
82
- # it is typically better to run by tag than by path
82
+ # running by tag is typically better than running by path
83
83
pytest -k " unit"
84
84
pytest -k " service"
85
85
pytest -k " web"
@@ -91,7 +91,7 @@ pytest -junitxml=<path>
91
91
```
92
92
93
93
` pytest-bdd ` tests can be executed and filtered together with regular ` pytest ` tests.
94
- Tests can all be within the same directory.
94
+ Tests can all be located within the same directory.
95
95
Tags work just like [ pytest.mark] ( https://docs.pytest.org/en/latest/example/markers.html ) .
96
96
All other ` pytest ` plugins should work, too. For example:
97
97
You can’t perform that action at this time.
0 commit comments