summaryrefslogtreecommitdiff
path: root/doc/en/usage.rst
diff options
context:
space:
mode:
authorBruno Oliveira <nicoddemus@gmail.com>2017-08-03 22:00:11 -0300
committerBruno Oliveira <nicoddemus@gmail.com>2017-08-04 07:44:04 -0300
commit15cdf137d57e9b83176cad20f9b5daf2dd9facd0 (patch)
treea11a894a9e6ffcee65fc5fcaffe48cbdf783092b /doc/en/usage.rst
parent8969bd43c953674799e25979d5e83caab882654d (diff)
downloadpytest-15cdf137d57e9b83176cad20f9b5daf2dd9facd0.tar.gz
Document which pytest features work with `unittest`
Fix #2626
Diffstat (limited to 'doc/en/usage.rst')
-rw-r--r--doc/en/usage.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/en/usage.rst b/doc/en/usage.rst
index e19415892..9360a8ed2 100644
--- a/doc/en/usage.rst
+++ b/doc/en/usage.rst
@@ -41,6 +41,8 @@ Getting help on version, option names, environment variables
pytest -h | --help # show help on command line and config file options
+.. _maxfail:
+
Stopping after the first (or N) failures
---------------------------------------------------
@@ -49,6 +51,8 @@ To stop the testing process after the first (N) failures::
pytest -x # stop after first failure
pytest --maxfail=2 # stop after two failures
+.. _select-tests:
+
Specifying tests / selecting tests
---------------------------------------------------
@@ -135,6 +139,9 @@ with Ctrl+C to find out where the tests are *hanging*. By default no output
will be shown (because KeyboardInterrupt is caught by pytest). By using this
option you make sure a trace is shown.
+
+.. _pdb-option:
+
Dropping to PDB_ (Python Debugger) on failures
-----------------------------------------------