Last active
September 13, 2019 23:39
-
-
Save srininara/8fe17e80f82014e81c7c0834d4173a55 to your computer and use it in GitHub Desktop.
Python pytest TDD workflow for me
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
py.test --lf # Runs all tests first time since it does not know of failing tests | |
py.test --lf # Runs only failing tests | |
py.test --lf -svv # Runs failing tests with a lot more information | |
py.test --lf -svv # Runs failing tests (hopefully now you finished writing code and the failing tests pass) | |
py.test --lf # Runs all tests since last run did not have any failing test | |
# Read more here https://docs.pytest.org/en/latest/cache.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment