{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/14"},{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing/4"}],"enrichment":{"capability":"Provides testing utilities and frameworks for Python, including doctest support, form parsing, logging verification, and setup/teardown automation.","skillfed_tags":["doctest","testing-utilities","zope-framework"],"use_cases":["Verify logging output in unit tests using loggingsupport handlers.","Extract and validate form data from HTML responses in functional tests with formparser.","Normalize doctest output with regex patterns to handle timestamps or variable data.","Automate setup and teardown in doctests using setupstack to avoid global state pollution.","Handle timing-dependent test failures with the wait utility for non-deterministic operations."],"what_it_does":"zope.testing is a collection of testing utilities built around doctest and unittest workflows. It provides helpers for common testing patterns: cleanup mixins for tests that modify global state, HTML form parsing for functional tests, logging output verification, and setup/teardown automation via setupstack. The package also includes output normalization via regex patterns (useful for doctests with non-deterministic output) and a timing utility for handling race conditions.\n\nThe package is designed primarily for doctest-heavy projects and Zope framework users, though its individual modules (like renormalizing and setupstack) can be used standalone. It has no runtime dependencies, making it lightweight to add to a test suite. Recent versions have deprecated doctestcase in favor of Python's built-in doctest module, signaling a shift toward standard library patterns.","worth_installing":"Yes. zope.testing is actively maintained, has zero known vulnerabilities, requires no external dependencies, and supports current Python versions (3.10+). It is worth installing if you use doctests or need any of its specialized testing utilities (form parsing, logging verification, output normalization). If you only use unittest or pytest with standard patterns, you may not need it."},"id":"zope-testing","links":{"html":"https://skillfed.io/packages/zope-testing","md":"https://skillfed.io/packages/zope-testing.md","pypi":"https://pypi.org/project/zope-testing/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-03","license_spdx":"ZPL-2.1","license_treatment":"unclear","name":"zope.testing","python_support":"supports_current","summary":"Zope testing helpers"},"popularity":{"monthly_downloads":256994,"position":8452,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"6.2"}
