Closed shuttle1987 closed 4 years ago
https://www.customprogrammingsolutions.com/tutorial/2018-06-23/limiting-unit-test-runtime/
Specifically if pytest-timeout is not installed then the test will not only run but will never complete if there's a situation where it hangs. This is especially nasty for tests that are supposed to fail if they run too long.
https://www.customprogrammingsolutions.com/tutorial/2018-06-23/limiting-unit-test-runtime/
Specifically if pytest-timeout is not installed then the test will not only run but will never complete if there's a situation where it hangs. This is especially nasty for tests that are supposed to fail if they run too long.