An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

        

## Testing Python
Essay and sample code for writing unit tests in Python

Read 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=sharing

The 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.