Testing Running Tests with Pytest We use pytest for running tests. To run the tests: Ensure that you are in the root directory of the project. Run the following command: pytest This will automatically discover and run all test cases in the project.