11
I have a working Django app which has been successfully using unittest-xml-reporting to produce XML reports from my unittests.
However, the project is growing rapidly and I want to break up my tests into separate files within each app. I therefore installed django-discover-runner which finds all my test files and runs them successfully.
However, django-discover-runner does not produce XML reports, which I need (for Bamboo).
I've found this:
http://www.stevetrefethen.com/blog/Publishing-Python-unit-test-results-in-Jenkins.aspx
and have tried to implement that suggestion (in each of my test.py files), but no XML is produced.
How can I use both django-discover-runner and unittest-xml-reporting to discover my tests and produce XML reports?