pytest -v

The pytest option that prints each test's node ID and result on its own line instead of one dot per test.

In more detail

Verbose output is what you want in continuous integration logs, because a dot tells nobody anything weeks later. Pair it with --no-header to keep the output on one screen.

Example

pytest -v --no-header test_discount.py

Related terms

Taught in

References