tags | aliases | cssclass | |
---|---|---|---|
💽 |
|
This dependency is used for performing unit testing.
pip install pytest
pytest -rP test_file.py::specific_test_method
NOTE: This will show any print statements used in the test.
VS Code's Debug/Testing tools not working
- QUICK FIX: This occurs because there is an error within one of your test files. More than likely an import error. Use the following line in the terminal to view the issues that need fixing:
pytest --collect-only
🔗 Links to this page: [[Python]] [[Pytest Monkeypatching]]