Larry Cai
Larry Cai

Reputation: 60123

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

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 ?

Upvotes: 1

Views: 452

Answers (1)

Nathan Stocks
Nathan Stocks

Reputation: 2164

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.

Upvotes: 0

Related Questions