in Python by
What is Test Discovery and what is command structure in Python?

1 Answer

0 votes
by

Test Discovery is the process of finding all tests present in a project folder and executing them automatically.

Test Discovery plays a vital role in automating all tests.

You can achieve it by running the below command from Project1 folder.

python -m unittest discover

discover is the option used for performing test discovery.

By default, unittest starts finding all tests from the working directory.

...