We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7239266 commit f71045fCopy full SHA for f71045f
examples/test_markers.py
@@ -4,7 +4,7 @@
4
pytest -v -m marker_test_suite # Runs A, B, C, D
5
pytest -v -m marker1 # Runs A
6
pytest -v -m marker2 # Runs B, C
7
- pytest -v -m xkcd_code # Runs C
+ pytest -v -m marker3 # Runs C
8
pytest test_markers.py -v -m "not marker2" # Runs A, D
9
10
(The "-v" will display the names of tests as they run.)
@@ -29,7 +29,7 @@ def test_B(self):
29
self.assert_text("New Bug", "div#ctitle")
30
31
@pytest.mark.marker2
32
- @pytest.mark.xkcd_code # Tests can have multiple markers
+ @pytest.mark.marker3 # Tests can have multiple markers
33
def test_C(self):
34
self.open("https://xkcd.com/844/")
35
self.assert_text("Good Code", "div#ctitle")
0 commit comments