Last active
September 21, 2019 21:12
-
-
Save floer32/e9e80e7056acc8fa9840df4b9d584da1 to your computer and use it in GitHub Desktop.
simple HOWTO docstring to paste at top of test packages/modules, i.e. on teams less familiar with pytest
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
""" Tests for `foo` package. | |
uses pytest. pytest resources: | |
* Docs: https://docs.pytest.org/en/latest/ | |
* Book! https://pragprog.com/book/bopytest/python-testing-with-pytest | |
also uses `responses`, for mocking HTTP exchanges with `requests` library: | |
* https://github.com/getsentry/responses | |
""" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment