dalek-reporter-junit
v0.0.2
Published
jUnit reporter for the Dalekjs testing framework
Downloads
5
Readme
dalek-reporter-junit
DalekJS reporter plugin for jUnit compatible output
Ressources
API Docs - Trello - Code coverage - Code complexity - Contributing - User Docs - Homepage - Twitter
Docs
The jUnit reporter can produce a jUnit compatible file with the results of your testrun, this reporter enables you to use daleks testresults within a CI environment like Jenkins.
The reporter can be installed with the following command:
$ npm install dalek-reporter-junit --save-dev
The file will follow the jUnit XML format:
<?xml version="1.0" encoding="utf-8"?>
<resource name="DalekJSTest">
<testsuite start="1375125067" name="Click - DalekJS guinea pig [Phantomjs]" end="1375125067" totalTests="0">
<testcase start="1375125067" name="Can click a select option (OK, jQuery style, no message)" end="null" result="null">
<variation start="1375125067" name="val" end="1375125067">
<severity>pass</severity>
<description><![CDATA[David is the favourite]]></description>
<resource>DalekJSTest</resource>
</variation>
<variation start="1375125067" name="val" end="null">
<severity>pass</severity>
<description><![CDATA[Matt is now my favourite, bow ties are cool]]></description>
<resource>DalekJSTest</resource>
</variation>
</testcase>
</testsuite>
</resource>
By default the file will be written to report/dalek.xml
,
you can change this by adding a config option to the your Dalekfile
"junit-reporter": {
"dest": "your/folder/your_file.xml"
}
Help Is Just A Click Away
#dalekjs on FreeNode.net IRC
Join the #daleksjs
channel on FreeNode.net to ask questions and get help.
Google Group Mailing List
Get announcements for new releases, share your projects and ideas that are using DalekJS, and join in open-ended discussion that does not fit in to the Github issues list or StackOverflow Q&A.
For help with syntax, specific questions on how to implement a feature using DalekJS, and other Q&A items, use StackOverflow.
StackOverflow
Ask questions about using DalekJS in specific scenarios, with specific features. For example, help with syntax, understanding how a feature works and how to override that feature, browser specific problems and so on.
Questions on StackOverflow often turn in to blog posts or issues.
Github Issues
Report issues with DalekJS, submit pull requests to fix problems, or to create summarized and documented feature requests (preferably with pull requests that implement the feature).
Please don't ask questions or seek help in the issues list. There are other, better channels for seeking assistance, like StackOverflow and the Google Groups mailing list.
Legal FooBar (MIT License)
Copyright (c) 2013 Sebastian Golasch
Distributed under MIT license