https://github.com/zopefoundation/zope.testing
https://github.com/zopefoundation/zope.testing
maintained
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/zopefoundation/zope.testing
- Owner: zopefoundation
- License: other
- Created: 2013-01-07T23:05:37.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2025-09-12T07:49:05.000Z (9 months ago)
- Last Synced: 2025-09-12T08:36:31.082Z (9 months ago)
- Topics: maintained
- Language: Python
- Homepage:
- Size: 850 KB
- Stars: 4
- Watchers: 61
- Forks: 13
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGES.rst
- Contributing: CONTRIBUTING.md
- License: LICENSE.txt
- Copyright: COPYRIGHT.txt
Awesome Lists containing this project
README
=================
``zope.testing``
=================
.. image:: https://img.shields.io/pypi/v/zope.testing.svg
:target: https://pypi.python.org/pypi/zope.testing/
:alt: Latest Version
.. image:: https://github.com/zopefoundation/zope.testing/actions/workflows/tests.yml/badge.svg
:target: https://github.com/zopefoundation/zope.testing/actions/workflows/tests.yml
.. image:: https://readthedocs.org/projects/zopetesting/badge/?version=latest
:target: http://zopetesting.readthedocs.org/en/latest/
:alt: Documentation Status
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.
See `zope.testing.cleanup`
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.
See `zope.testing.formparser`
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.
See `zope.testing.loggingsupport`
module
Lets a doctest pretend to be a Python module.
See `zope.testing.module`
renormalizing
Regular expression pattern normalizing output checker.
Useful for doctests.
See `zope.testing.renormalizing`
setupstack
A simple framework for automating doctest set-up and tear-down.
See `zope.testing.setupstack`
wait
A small utility for dealing with timing non-determinism
See `zope.testing.wait`
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.
See `zope.testing.doctestcase`
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.