Opened 13 years ago
Last modified 13 years ago
#740 new enhancement
multiple XML files for python:unittest recipe
Reported by: | debacle@… | Owned by: | hodgestar |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Build slave | Version: | 0.6b3 |
Keywords: | Cc: | ||
Operating System: |
Description
I'm testing a Django 1.2 application with the Django xmlrunner test runner. This test runner creates multiple XML files in one directory, e.g. "xmlrunner/". It would be nice to allow globbing such as:
<python:unittest file="xmlrunner/*.xml"/>
Furthermore, the xmlrunner output differs from the Bitten test report XML format, e.g. there seems to be no explicit "success", instead not having an "error" nor "failure" element has to be interpreted as successful outcome.
Attachments (1)
Change History (3)
Changed 13 years ago by debacle@…
comment:1 follow-up: ↓ 2 Changed 13 years ago by hodgestar
- Owner set to hodgestar
Thanks for the patch. I think perhaps this modified functionality belongs in a separate recipe command rather than as an extension to python:unittest. Maybe django:xmlrunner or python:xmlrunner? It would also be good if the patch came with some unittests of its own.
comment:2 in reply to: ↑ 1 Changed 13 years ago by debacle@…
Replying to hodgestar:
Thanks for the patch. I think perhaps this modified functionality belongs in a separate recipe command
Yes, this would make the code cleaner.
rather than as an extension to python:unittest. Maybe django:xmlrunner or python:xmlrunner?
The latter sounds good to me.
It would also be good if the patch came with some unittests of its own.
Sure.
patch