Pytest Logging

From NovaOrdis Knowledge Base
Revision as of 01:26, 17 February 2022 by Ovidiu (talk | contribs) (→‎Internal)
Jump to navigation Jump to search

External

Internal

Overview

pytest captures the stdout and stderr generated while running the tests, and that is why they cannot be seen in the running terminal. To disable this behavior and allow stdout and stderr propagation, start pytest with:

pytest -s|--capture=no ...