-
Notifications
You must be signed in to change notification settings - Fork 395
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
builtin XML formatter plugin: --xml --xml-formatter=mymodule.foo #13
Comments
I've got an implementation for this plugin posted at: http://code.google.com/p/python-nosexml/ For the moment I've just implemented it as an external plugin for ease in development. Take a look at and let me Google Code Info: |
Hi Paul. Sorry for the delay in looking at this -- excellent implementation, great There seemed to be some good arguments for including this in nose core. I'll post Thanks for working on this. Google Code Info: |
I don't know if you're on nose-dev so just a heads up - I'm posting it there. Google Code Info: |
whoops, incorrectly marked this as Fixed. Google Code Info: |
Tentatively added to 0.11 release plan. Google Code Info: |
Paul, great work on the textmate formatter. Would like to see it in 0.11 for that. You really need some google juice though, as I only found this after cooking up my Google Code Info: |
Paul, not sure if you are on this thread for notifications are not. If so, have you Or ... if casbon or someone else is up for making those changes then that would be a Google Code Info: |
I started a work branch for this, 140-xml-plugin, but haven't committed anything yet Google Code Info: |
Update on this: there is an implementation of a basic xunit plugin in nose core on more as it happens. Google Code Info: |
Google Code Info: |
I'm inclined to say we close this ticket. The new xunit plugin solves the original Having a template to produce other XML outputs would be nice, I guess, but we Google Code Info: |
I've just made some changes to the built in cover plugin to take advantage of Ned's Ben Google Code Info: |
Ben, I am interested in what you've done. Thanks, (I think that this topic actually deserves to be in a separate thread. Perhaps Google Code Info: |
oh whoops, looks like I missed Ben's message. I'd suggest forking the Nose mainline Google Code Info: |
Nose should support XML output of test results.
Use cases:
XSLT)
Bamboo, Cruise Control, etc
Implementation:
A new builtin plugin is needed to allow:
...which would generate XML output of test results in accordance with a schema
definition (preferably Relax-NG schema - http://relaxng.org/). Nose
documentation will explain the XML schema.
Additionally, a custom formatter could be used like:
...where the formatter argument is any python path pointing to a
module providing a class descending from NoseXMLFormatter (or
something). This would make supporting custom XML very easy -- no
fussing with setuptools entry points, even. It would also allow for
separately maintained XML formats to be released as standalone
modules, if the authors felt those would be useful. Nose documentation
will explain how to build a custom formatter -- what hooks can be
implemented, etc.
Initial discussion:
http://groups.google.com/group/nose-users/browse_thread/thread/85749c41c9ea7ec9/bb5d1440121ee729
This should address issue111
Google Code Info:
Issue #: 140
Author: kumar.mcmillan
Created On: 2007-12-02T20:30:52.000Z
Closed On:
The text was updated successfully, but these errors were encountered: