pytest --collect-only

Category: Python & pip

pytest --collect-only

Show which tests would be collected without running them

Shows which tests would be collected and run without actually running them.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.