<p>Identify your slowest test set using pytest by using the flag <code>--duration</code>, e.g. <code>--duration=50</code> will report the 50 slowest test set from a given test suite. Refer to: #profiling-test-execution-duration</p>
By clicking “Accept all”, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage and assist in our marketing efforts. Check our privacy policies.