@@ -46,9 +46,9 @@ First, let's create 50 test invocation of which only 2 fail::
4646If you run this for the first time you will see two failures::
4747
4848 $ pytest -q
49- .................F.......F........................
50- ======= FAILURES ========
51- _______ test_num[17] ________
49+ .................F.......F........................ [100%]
50+ ================================= FAILURES ========================= ========
51+ _______________________________ test_num[17] _______________________________
5252
5353 i = 17
5454
@@ -59,7 +59,7 @@ If you run this for the first time you will see two failures::
5959 E Failed: bad luck
6060
6161 test_50.py:6: Failed
62- _______ test_num[25] ________
62+ _______________________________ test_num[25] _______________________________
6363
6464 i = 25
6565
@@ -75,16 +75,16 @@ If you run this for the first time you will see two failures::
7575If you then run it with ``--lf ``::
7676
7777 $ pytest --lf
78- ======= test session starts ========
78+ =========================== test session starts ==================== ========
7979 platform linux -- Python 3.x.y, pytest-3.x.y, py-1.x.y, pluggy-0.x.y
8080 rootdir: $REGENDOC_TMPDIR, inifile:
8181 collected 50 items
8282 run-last-failure: rerun previous 2 failures
8383
84- test_50.py FF
84+ test_50.py FF [100%]
8585
86- ======= FAILURES ========
87- _______ test_num[17] ________
86+ ================================= FAILURES ========================= ========
87+ _______________________________ test_num[17] _______________________________
8888
8989 i = 17
9090
@@ -95,7 +95,7 @@ If you then run it with ``--lf``::
9595 E Failed: bad luck
9696
9797 test_50.py:6: Failed
98- _______ test_num[25] ________
98+ _______________________________ test_num[25] _______________________________
9999
100100 i = 25
101101
@@ -106,8 +106,8 @@ If you then run it with ``--lf``::
106106 E Failed: bad luck
107107
108108 test_50.py:6: Failed
109- ======= 48 tests deselected ========
110- ======= 2 failed, 48 deselected in 0.12 seconds ========
109+ =========================== 48 tests deselected ==================== ========
110+ ================= 2 failed, 48 deselected in 0.12 seconds ========== ========
111111
112112You have run only the two failing test from the last run, while 48 tests have
113113not been run ("deselected").
@@ -117,16 +117,16 @@ previous failures will be executed first (as can be seen from the series
117117of ``FF `` and dots)::
118118
119119 $ pytest --ff
120- ======= test session starts ========
120+ =========================== test session starts ==================== ========
121121 platform linux -- Python 3.x.y, pytest-3.x.y, py-1.x.y, pluggy-0.x.y
122122 rootdir: $REGENDOC_TMPDIR, inifile:
123123 collected 50 items
124124 run-last-failure: rerun previous 2 failures first
125125
126- test_50.py FF................................................
126+ test_50.py FF................................................ [100%]
127127
128- ======= FAILURES ========
129- _______ test_num[17] ________
128+ ================================= FAILURES ========================= ========
129+ _______________________________ test_num[17] _______________________________
130130
131131 i = 17
132132
@@ -137,7 +137,7 @@ of ``FF`` and dots)::
137137 E Failed: bad luck
138138
139139 test_50.py:6: Failed
140- _______ test_num[25] ________
140+ _______________________________ test_num[25] _______________________________
141141
142142 i = 25
143143
@@ -148,7 +148,7 @@ of ``FF`` and dots)::
148148 E Failed: bad luck
149149
150150 test_50.py:6: Failed
151- ======= 2 failed, 48 passed in 0.12 seconds ========
151+ =================== 2 failed, 48 passed in 0.12 seconds ============ ========
152152
153153.. _`config.cache` :
154154
@@ -182,9 +182,9 @@ If you run this command once, it will take a while because
182182of the sleep::
183183
184184 $ pytest -q
185- F
186- ======= FAILURES ========
187- _______ test_function ________
185+ F [100%]
186+ ================================= FAILURES ========================= ========
187+ ______________________________ test_function _______________________________
188188
189189 mydata = 42
190190
@@ -199,9 +199,9 @@ If you run it a second time the value will be retrieved from
199199the cache and this will be quick::
200200
201201 $ pytest -q
202- F
203- ======= FAILURES ========
204- _______ test_function ________
202+ F [100%]
203+ ================================= FAILURES ========================= ========
204+ ______________________________ test_function _______________________________
205205
206206 mydata = 42
207207
@@ -222,7 +222,7 @@ You can always peek at the content of the cache using the
222222``--cache-show `` command line option::
223223
224224 $ py.test --cache-show
225- ======= test session starts ========
225+ =========================== test session starts ==================== ========
226226 platform linux -- Python 3.x.y, pytest-3.x.y, py-1.x.y, pluggy-0.x.y
227227 rootdir: $REGENDOC_TMPDIR, inifile:
228228 cachedir: $REGENDOC_TMPDIR/.cache
@@ -232,7 +232,7 @@ You can always peek at the content of the cache using the
232232 example/value contains:
233233 42
234234
235- ======= no tests ran in 0.12 seconds ========
235+ ======================= no tests ran in 0.12 seconds =============== ========
236236
237237Clearing Cache content
238238-------------------------------
0 commit comments