Added documentation for the continue-on-failure flag
This commit is contained in:
parent
f4cc45bb41
commit
c21eb72924
|
@ -115,6 +115,11 @@ itself::
|
||||||
>>> get_unicode_greeting() # doctest: +ALLOW_UNICODE
|
>>> get_unicode_greeting() # doctest: +ALLOW_UNICODE
|
||||||
'Hello'
|
'Hello'
|
||||||
|
|
||||||
|
By default, pytest would report only the first failure for a given doctest. If
|
||||||
|
you want to continue the test even when you have failures, do::
|
||||||
|
|
||||||
|
pytest --doctest-modules --doctest-continue-on-failure
|
||||||
|
|
||||||
|
|
||||||
The 'doctest_namespace' fixture
|
The 'doctest_namespace' fixture
|
||||||
-------------------------------
|
-------------------------------
|
||||||
|
|
Loading…
Reference in New Issue