Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Pytest verbose mode -v

In the verbose mode pytest will show the name and the status of each test.

$ pytest -v test_mymod_1.py

test_mymod_1.py::test_anagram PASSED
$ pytest -v test_mymod_2.py

test_mymod_2.py::test_anagram PASSED
test_mymod_2.py::test_multiword_anagram FAILED