-
Notifications
You must be signed in to change notification settings - Fork 18
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
how can i get the test report as xml? #40
Comments
Currently the rhino-reporter is generating text. It is generated here: https://github.com/trevmex/EnvJasmine/blob/master/lib/jasmine-rhino-reporter/jasmine-rhino-reporter.js If you let me know what format you would like the XML in, I'd be happy to create a custom reporter for you to have it formatted nice in Jenkins. |
I have some interest in being able to do this as well. I think something like what you see at http://stackoverflow.com/questions/4922867/junit-xml-format-specification-that-hudson-supports would be ideal for what he's after. To summarize the simple format: <testsuite tests="3">
<testcase classname="foo" name="ASuccessfulTest"/>
<testcase classname="foo" name="AnotherSuccessfulTest"/>
<testcase classname="foo" name="AFailingTest">
<failure type="NotEnoughFoo"> details about failure </failure>
</testcase>
</testsuite> You can find a copy of the schema in the Jenkin's source code. |
I think the format can be like this:
|
@trevmex Was there ever a reporter generated for this? I am looking at getting this working on Jenkins as well but can't seem to find an XML reporter. |
I want to run the tests in Jenkins.How can i get the test report as xml?
The text was updated successfully, but these errors were encountered: