The py.test doctestplus plugin
The doctestplus plugin provides advanced features for testing example Python code that is included in Python docstrings and in standalone documentation files. Good documentation for developers contains example code. This is true of both standalone documentation and of documentation that is integrated with the code itself. Python provides a mechanism for testing code snippets that are provided in Python docstrings. The unit test framework pytest provides a mechanism for running doctests against both docstrings in source code and in standalone documentation files. This plugin augments the functionality provided by Python and pytest by providing the following features: * approximate floating point comparison for doctests that produce floating point results * skipping particular classes, methods, and functions when running doctests * handling doctests that use remote data in conjunction with the pytest-remotedata plugin * optional inclusion of *.rst files for doctests
Release | Stable | Testing |
---|---|---|
Fedora Rawhide | 0.11.2-1.fc36 | - |
Fedora 35 | 0.9.0-3.fc35 | - |
Fedora 34 | 0.8.0-2.fc34 | - |
EPEL 8 | 0.5.0-1.el8 | - |
You can contact the maintainers of this package via email at
python-pytest-doctestplus dash maintainers at fedoraproject dot org
.