Test Discovery

pytest
Author

Imad Dabbura

Published

December 19, 2022

Test discovery process in pytest goes as follows:

We can always run tests in specific file by running pytest file or specific test in a test file pytest path/to/file::test_name