@@ -31,7 +31,7 @@ You can then restrict a test run to only run tests marked with ``webtest``::
31
31
32
32
$ py.test -v -m webtest
33
33
======= test session starts ========
34
- platform linux -- Python 3.4.3, pytest-2.8.3 , py-1.4.30, pluggy-0.3.1 -- $PYTHON_PREFIX/bin/python3.4
34
+ platform linux -- Python 3.4.3, pytest-2.8.4 , py-1.4.30, pluggy-0.3.1 -- $PYTHON_PREFIX/bin/python3.4
35
35
cachedir: .cache
36
36
rootdir: $REGENDOC_TMPDIR, inifile:
37
37
collecting ... collected 4 items
@@ -45,7 +45,7 @@ Or the inverse, running all tests except the webtest ones::
45
45
46
46
$ py.test -v -m "not webtest"
47
47
======= test session starts ========
48
- platform linux -- Python 3.4.3, pytest-2.8.3 , py-1.4.30, pluggy-0.3.1 -- $PYTHON_PREFIX/bin/python3.4
48
+ platform linux -- Python 3.4.3, pytest-2.8.4 , py-1.4.30, pluggy-0.3.1 -- $PYTHON_PREFIX/bin/python3.4
49
49
cachedir: .cache
50
50
rootdir: $REGENDOC_TMPDIR, inifile:
51
51
collecting ... collected 4 items
@@ -66,7 +66,7 @@ tests based on their module, class, method, or function name::
66
66
67
67
$ py.test -v test_server.py::TestClass::test_method
68
68
======= test session starts ========
69
- platform linux -- Python 3.4.3, pytest-2.8.3 , py-1.4.30, pluggy-0.3.1 -- $PYTHON_PREFIX/bin/python3.4
69
+ platform linux -- Python 3.4.3, pytest-2.8.4 , py-1.4.30, pluggy-0.3.1 -- $PYTHON_PREFIX/bin/python3.4
70
70
cachedir: .cache
71
71
rootdir: $REGENDOC_TMPDIR, inifile:
72
72
collecting ... collected 5 items
@@ -79,7 +79,7 @@ You can also select on the class::
79
79
80
80
$ py.test -v test_server.py::TestClass
81
81
======= test session starts ========
82
- platform linux -- Python 3.4.3, pytest-2.8.3 , py-1.4.30, pluggy-0.3.1 -- $PYTHON_PREFIX/bin/python3.4
82
+ platform linux -- Python 3.4.3, pytest-2.8.4 , py-1.4.30, pluggy-0.3.1 -- $PYTHON_PREFIX/bin/python3.4
83
83
cachedir: .cache
84
84
rootdir: $REGENDOC_TMPDIR, inifile:
85
85
collecting ... collected 4 items
@@ -92,7 +92,7 @@ Or select multiple nodes::
92
92
93
93
$ py.test -v test_server.py::TestClass test_server.py::test_send_http
94
94
======= test session starts ========
95
- platform linux -- Python 3.4.3, pytest-2.8.3 , py-1.4.30, pluggy-0.3.1 -- $PYTHON_PREFIX/bin/python3.4
95
+ platform linux -- Python 3.4.3, pytest-2.8.4 , py-1.4.30, pluggy-0.3.1 -- $PYTHON_PREFIX/bin/python3.4
96
96
cachedir: .cache
97
97
rootdir: $REGENDOC_TMPDIR, inifile:
98
98
collecting ... collected 8 items
@@ -130,7 +130,7 @@ select tests based on their names::
130
130
131
131
$ py.test -v -k http # running with the above defined example module
132
132
======= test session starts ========
133
- platform linux -- Python 3.4.3, pytest-2.8.3 , py-1.4.30, pluggy-0.3.1 -- $PYTHON_PREFIX/bin/python3.4
133
+ platform linux -- Python 3.4.3, pytest-2.8.4 , py-1.4.30, pluggy-0.3.1 -- $PYTHON_PREFIX/bin/python3.4
134
134
cachedir: .cache
135
135
rootdir: $REGENDOC_TMPDIR, inifile:
136
136
collecting ... collected 4 items
@@ -144,7 +144,7 @@ And you can also run all tests except the ones that match the keyword::
144
144
145
145
$ py.test -k "not send_http" -v
146
146
======= test session starts ========
147
- platform linux -- Python 3.4.3, pytest-2.8.3 , py-1.4.30, pluggy-0.3.1 -- $PYTHON_PREFIX/bin/python3.4
147
+ platform linux -- Python 3.4.3, pytest-2.8.4 , py-1.4.30, pluggy-0.3.1 -- $PYTHON_PREFIX/bin/python3.4
148
148
cachedir: .cache
149
149
rootdir: $REGENDOC_TMPDIR, inifile:
150
150
collecting ... collected 4 items
@@ -160,7 +160,7 @@ Or to select "http" and "quick" tests::
160
160
161
161
$ py.test -k "http or quick" -v
162
162
======= test session starts ========
163
- platform linux -- Python 3.4.3, pytest-2.8.3 , py-1.4.30, pluggy-0.3.1 -- $PYTHON_PREFIX/bin/python3.4
163
+ platform linux -- Python 3.4.3, pytest-2.8.4 , py-1.4.30, pluggy-0.3.1 -- $PYTHON_PREFIX/bin/python3.4
164
164
cachedir: .cache
165
165
rootdir: $REGENDOC_TMPDIR, inifile:
166
166
collecting ... collected 4 items
@@ -350,7 +350,7 @@ the test needs::
350
350
351
351
$ py.test -E stage2
352
352
======= test session starts ========
353
- platform linux -- Python 3.4.3, pytest-2.8.3 , py-1.4.30, pluggy-0.3.1
353
+ platform linux -- Python 3.4.3, pytest-2.8.4 , py-1.4.30, pluggy-0.3.1
354
354
rootdir: $REGENDOC_TMPDIR, inifile:
355
355
collected 1 items
356
356
@@ -362,7 +362,7 @@ and here is one that specifies exactly the environment needed::
362
362
363
363
$ py.test -E stage1
364
364
======= test session starts ========
365
- platform linux -- Python 3.4.3, pytest-2.8.3 , py-1.4.30, pluggy-0.3.1
365
+ platform linux -- Python 3.4.3, pytest-2.8.4 , py-1.4.30, pluggy-0.3.1
366
366
rootdir: $REGENDOC_TMPDIR, inifile:
367
367
collected 1 items
368
368
@@ -481,7 +481,7 @@ then you will see two test skipped and two executed tests as expected::
481
481
482
482
$ py.test -rs # this option reports skip reasons
483
483
======= test session starts ========
484
- platform linux -- Python 3.4.3, pytest-2.8.3 , py-1.4.30, pluggy-0.3.1
484
+ platform linux -- Python 3.4.3, pytest-2.8.4 , py-1.4.30, pluggy-0.3.1
485
485
rootdir: $REGENDOC_TMPDIR, inifile:
486
486
collected 4 items
487
487
@@ -495,7 +495,7 @@ Note that if you specify a platform via the marker-command line option like this
495
495
496
496
$ py.test -m linux2
497
497
======= test session starts ========
498
- platform linux -- Python 3.4.3, pytest-2.8.3 , py-1.4.30, pluggy-0.3.1
498
+ platform linux -- Python 3.4.3, pytest-2.8.4 , py-1.4.30, pluggy-0.3.1
499
499
rootdir: $REGENDOC_TMPDIR, inifile:
500
500
collected 4 items
501
501
@@ -547,7 +547,7 @@ We can now use the ``-m option`` to select one set::
547
547
548
548
$ py.test -m interface --tb=short
549
549
======= test session starts ========
550
- platform linux -- Python 3.4.3, pytest-2.8.3 , py-1.4.30, pluggy-0.3.1
550
+ platform linux -- Python 3.4.3, pytest-2.8.4 , py-1.4.30, pluggy-0.3.1
551
551
rootdir: $REGENDOC_TMPDIR, inifile:
552
552
collected 4 items
553
553
@@ -569,7 +569,7 @@ or to select both "event" and "interface" tests::
569
569
570
570
$ py.test -m "interface or event" --tb=short
571
571
======= test session starts ========
572
- platform linux -- Python 3.4.3, pytest-2.8.3 , py-1.4.30, pluggy-0.3.1
572
+ platform linux -- Python 3.4.3, pytest-2.8.4 , py-1.4.30, pluggy-0.3.1
573
573
rootdir: $REGENDOC_TMPDIR, inifile:
574
574
collected 4 items
575
575
0 commit comments