Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
collective.xmltestreport
Advanced tools
A test runner which can output an XML report compatible with JUnit and Jenkins
This package provides an extension to the test runner to the one that ships
with zope.testrunner
, as well as a buildout recipe based on
zc.recipe.testrunner
to install a test script for this test runner.
The test runner is identical to the one in zope.testrunner
, but it is
capable of writing test reports in the XML format output by JUnit/Ant. This
allows the test results to be analysed by tools such as the Jenkins continuous
integration server.
https://github.com/collective/collective.xmltestreport
In your buildout, add a part like this::
[buildout]
parts =
...
test
...
[test]
recipe = collective.xmltestreport
eggs =
my.package
defaults = ['--auto-color', '--auto-progress']
The recipe accepts the same options as zc.recipe.testrunner, so look at its documentation for details.
When buildout is run, you should have a script in bin/test
and a directory
parts/test
.
To run the tests, use the bin/test
script. If you pass the --xml
option, test reports will be written to parts/test/testreports
directory::
$ bin/test --xml -s my.package
Use bin/test --help
for a full list of options.
If you are using Jenkins, you can now configure the build to publish JUnit
test reports for <buildoutdir>/parts/test/testreports/*.xml
.
.. You should NOT be adding new change log entries to this file. You should create a file in the news directory instead. For helpful instructions, please see: https://github.com/plone/plone.releaser/blob/master/ADD-A-NEWS-ITEM.rst
.. towncrier release notes start
Bug fixes:
zope.testrunner
5.1+.
Fixes https://github.com/zopefoundation/zope.testrunner/issues/103
[maurits] (#103)Bug fixes:
environment
option. The key
was used as the value
.Breaking changes:
Add compatibility with Python 2 and Python 3. [gforcada]
Switch from optparse to argparse to work with zope.testrunner >= 4.9.0 [pbauer]
Drop python 2.6 dependency. [gforcada]
Bug fixes:
Fixes:
Fix error on utf-8 error string. [bloodbare]
Fix encoding problem in python 3. [cedricmessiant]
elementtree
for Python < 2.5.OSError
in formatter which could occur when a test case modifies
the current working directory to a directory that gets removed during the
test. In such cases we fall back to the working directory as it was in the
beginning of the tests.
[dokai]IndexError
in formatter which could occur when the path of the
current working directory was part of the path + file name of the doctest
file but shorter.manuel
and this way depends on manuel
.
[icemac].. _Manuel: http://pypi.python.org/pypi/manuel
Require zope.testrunner
and remove support for zope.testing 3.7.
[hannosch]
Added support for zope.testrunner
while retaining support for the older
zope.testing.testrunner
.
[hannosch]
No longer use the deprecated zope.testing.doctest
.
[hannosch]
Distribution metadata cleanup. [hannosch]
Use built-in xml.etree
in favor of elementree
in Python 2.5+ and added
missing dependency on zc.recipe.egg
.
[multani]
-x
option --xml
. This is necessary by zope.testing now
uses the -x
option for something else. :-(FAQs
A test runner which can output an XML report compatible with JUnit and Jenkins
We found that collective.xmltestreport demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 11 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.