TestFixtures documentation¶
TestFixtures is a collection of helpers and mock objects that are useful when writing unit tests or doc tests.
The sections below describe the use of the various tools included:
- Comparing objects and sequences
- Mocking out objects and methods
- Mocking dates and times
- Testing logging
- Testing output to streams
- Testing with files and directories
- Testing exceptions
- Testing warnings
- Testing use of the subprocess package
- Testing when using django
- Testing with zope.component
- Utilities
If you’re looking for a description of a particular tool, please see the API reference:
For details of how to install the package or get involved in its development, please see the sections below: