Zope-testing

Latest version: v4.6.2

Safety actively analyzes 639872 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 7 of 8

3.7.1

------------------

- The ``setupstack`` temporary directory support now properly handles
read-only files by making them writable before removing them.

3.7.0

------------------

- Add alterate setuptools / distutils commands for running all tests
using our testrunner. See 'zope.testing.testrunner.eggsupport:ftest'.

- Add a setuptools-compatible test loader which skips tests with layers:
the testrunner used by ``setup.py test`` doesn't know about them, and those
tests then fail. See ``zope.testing.testrunner.eggsupport:SkipLayers``.

- Add support for Jython, when a garbage collector call is sent.

- Add support to bootstrap on Jython.

- Fix NameError in StartUpFailure.

- Open doctest files in universal mode, so that packages released on Windows
can be tested on Linux, for example.

3.6.0

------------------

- Add ``-j`` option to parallel tests run in subprocesses.

- RENormalizer accepts plain Python callables.

- Add ``--slow-test`` option.

- Add ``--no-progress`` and ``--auto-progress`` options.

- Complete refactoring of the test runner into multiple code files and a more
modular (pipeline-like) architecture.

- Unify unit tests with the layer support by introducing a real unit test
layer.

- Add a doctest for ``zope.testing.module``. There were several bugs
that were fixed:

* ``README.txt`` was a really bad default argument for the module
name, as it is not a proper dotted name. The code would
immediately fail as it would look for the ``txt`` module in the
``README`` package. The default is now ``__main__``.

* The ``tearDown`` function did not clean up the ``__name__`` entry in the
global dictionary.

- Fix a bug that caused a SubprocessError to be generated if a subprocess
sent any output to stderr.

- Fix a bug that caused the unit tests to be skipped if run in a subprocess.

3.5.1

------------------

- Invoke post-mortem debugging for layer-setup failures.

3.5.0

------------------

- Ensure that the test runner works on Python 2.5.

- Add support for ``cProfile``.

- Add output colorizing (``-c`` option).

- Add ``--hide-secondary-failures`` and ``--show-secondary-failures`` options
(https://bugs.launchpad.net/zope3/+bug/115454).

- Fix some problems with Unicode in doctests.

- Fix "Error reading from subprocess" errors on Unix-like systems.

3.4

----------------

- Add ``exit-with-status`` support (supports use with buildbot and
``zc.recipe.testing``)

- Add a small framework for automating set up and tear down of
doctest tests. See ``setupstack.txt``.

- Allow ``testrunner-wo-source.txt`` and ``testrunner-errors.txt`` to run
within a read-only source tree.

Page 7 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.