Skip to content

Commit

Permalink
doc/changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
blueyed committed Apr 11, 2019
1 parent 50edab8 commit 42e60d9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog/5068.feature.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The ``-r`` option learnt about ``A`` to display all reports (including passed ones) in the short test summary.
4 changes: 3 additions & 1 deletion doc/en/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,8 @@ Example:
FAILED test_example.py::test_fail
= 1 failed, 1 passed, 1 skipped, 1 xfailed, 1 xpassed, 1 error in 0.12 seconds =
The ``-r`` options accepts a number of characters after it, with ``a`` used above meaning "all except passes".
The ``-r`` options accepts a number of characters after it, with ``a`` used
above meaning "all except passes".

Here is the full list of available characters that can be used:

Expand All @@ -247,6 +248,7 @@ Here is the full list of available characters that can be used:
- ``p`` - passed
- ``P`` - passed with output
- ``a`` - all except ``pP``
- ``A`` - all

More than one character can be used, so for example to only see failed and skipped tests, you can execute:

Expand Down

0 comments on commit 42e60d9

Please sign in to comment.