how to generate xml report using python-green for unit testing and coverage?

450 views Asked by At

Try to use python green to control python (2.7.x) code quality, and integrated it within jenkins.

In nose, there is --with-xunit parameter to generate nosetests.xml unit test.

In coverage, it is possible to use xml paramter to generate like coverage.xml coverage report.

Both are very good to be integrated with jenkins.

Do you know how to achieve this in green ?

1

There are 1 answers

0
Nathan Stocks On

At the moment, Green does not support any means of producing xml output or integrating with Jenkins.

However, subunit support is planned. Once subunit support is in place, you should be able to hook it up to Jenkins.