collective / collective.xmltestreport

Test runner which can output an XML report compatible with JUnit and Jenkins
https://pypi.org/project/collective.xmltestreport
7 stars 8 forks source link

Not callable as a module in other programs (eg Coverage.py) #19

Open ZachArani opened 6 years ago

ZachArani commented 6 years ago

There are countless cases where I've needed to call collective.xmltestreport as a module, namely in coverage.py like so:

coverage run -m collective.xmltestreport --test-path=. --auto-color --auto-progress --xml

I can do this with zope.testrunner as-is. If this package is supposed to be identical to zope.testrunner, then I heavily recommend a __main__.py file and __init__.py file get mirrored from zope.testrunner.

ZachArani commented 6 years ago

Here's my example: #20

gforcada commented 1 year ago

I was about to report that as well. We should/need to update this package to not be that much tied to zc.buildout, as in Plone at least, we are phasing it out to use either plain python tools or something like mxdev.