No description or website provided.
Python
Latest commit 0691739 Jan 4, 2017 @mgedmin mgedmin Back to development: 4.6.2
Permalink
Failed to load latest commit information.
src/zope
.gitignore
.travis.yml
CHANGES.rst
COPYRIGHT.txt
LICENSE.txt Comply with repository policy. Apr 6, 2010
MANIFEST.in
README.rst Use shields.io for PyPI badge Nov 6, 2015
appveyor.yml
bootstrap.py
buildout.cfg Added support for creating doctests as methods of Jul 12, 2015
rtd.txt Add RTD dependencies. Jan 28, 2015
setup.py
tox.ini Support Python 3.6 Dec 29, 2016

README.rst

zope.testing

Latest Version https://travis-ci.org/zopefoundation/zope.testing.png?branch=master Documentation Status

This package provides a number of testing frameworks.

cleanup
Provides a mixin class for cleaning up after tests that make global changes.
formparser

An HTML parser that extracts form information.

Python 2 only

This is intended to support functional tests that need to extract information from HTML forms returned by the publisher.

See formparser.txt.

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.

loghandler
Logging handler for tests that check logging output.
module

Lets a doctest pretend to be a Python module.

See module.txt.

renormalizing
Regular expression pattern normalizing output checker. Useful for doctests.
server

Provides a simple HTTP server compatible with the zope.app.testing functional testing API. Lets you interactively play with the system under test. Helpful in debugging functional doctest failures.

Python 2 only

setupstack
A simple framework for automating doctest set-up and tear-down. See setupstack.txt.
wait
A small utility for dealing with timing non-determinism See wait.txt.
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 buildout. To start, run python bootstrap.py. It will create a number of directories and the bin/buildout script. Next, run bin/buildout. It will create a test script for you. Now, run bin/test to run the zope.testing test suite.