https://github.com/donkirkby/testing
Essay and sample code for writing unit tests in Python
https://github.com/donkirkby/testing
python testing unit-testing
Last synced: about 2 months ago
JSON representation
Essay and sample code for writing unit tests in Python
- Host: GitHub
- URL: https://github.com/donkirkby/testing
- Owner: donkirkby
- License: mit
- Created: 2016-09-10T04:37:52.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-02-11T05:42:27.000Z (over 3 years ago)
- Last Synced: 2025-02-13T08:24:26.775Z (4 months ago)
- Topics: python, testing, unit-testing
- Language: Python
- Homepage: https://donkirkby.github.io/testing
- Size: 35.2 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Testing Python
Essay and sample code for writing unit tests in PythonRead the essay at [donkirkby.github.io/testing][site], or see the
[presentation][].[site]: https://donkirkby.github.io/testing
[presentation]: https://docs.google.com/presentation/d/1xZUsogi29wjoPJI-eKKLAFlVvTAlydrYD8HUWsDrhVk/edit?usp=sharingThe source code includes the following:
* Examples using the standard `unittest` and `unittest2` modules in the `unittest`
folder.
* Examples using the `pytest` framework in the `pytest` folder.
* Examples using the `nose` framework in the `nose` folder.
* A Django app in a single file for you to play with in each of the `udjango`
files.