pytest -q

The pytest option that shortens output to a dot per passing test and a one-line summary.

In more detail

The course uses it for most runs so the interesting part of the report fits on screen. It can be combined with other options, such as -q --tb=short.

Example

pytest -q test_cart.py

Related terms

Taught in

References