zope.testing
¶
This package provides a number of testing frameworks.
For complete documentation, see https://zopetesting.readthedocs.io
- cleanup
Provides a mixin class for cleaning up after tests that make global changes.
- formparser
An HTML parser that extracts form information.
This is intended to support functional tests that need to extract information from HTML forms returned by the publisher.
- loggingsupport
Support for testing logging code
If you want to test that your code generates proper log output, you can create and install a handler that collects output.
- module
Lets a doctest pretend to be a Python module.
- renormalizing
Regular expression pattern normalizing output checker. Useful for doctests.
- setupstack
A simple framework for automating doctest set-up and tear-down.
- wait
A small utility for dealing with timing non-determinism
- doctestcase
Support for defining doctests as methods of
unittest.TestCase
classes so that they can be more easily found by test runners, like nose, that ignore test suites.
Getting started developing zope.testing¶
zope.testing
uses tox
. To start, install tox
using pip install tox
.
Now, run tox
to run the zope.testing
test suite.