Unit testing Run all unit testing cd tests && pytest -s Run unit testing under a single folder cd tests && pytest -s {dir} Rerun the test cases that failed in the last run cd tests && pytest -s --lf