background image

Python Testing Frameworks

We will cover these two:

unittest

 - part of the Python library, similar to JUnit 3

DocTest

 - test by example, part of the Python library

Other testing frameworks:

Py.Test

 - very simple "assert" syntax.

can also run unittest style tests

Mock objects

 - create "fake" external components

https://wiki.python.org/moin/PythonTestingToolsTaxonomy

Comments:

Unit Testing in Python

navigate_before navigate_next