Home page Forum Wiki Mail Jabber Devel NIX-FILES

AltLUG Git

Git-repositories of Altai Linux User Group

Readme for junitlogger addon
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Sat, 29 Sep 2012 16:34:35 +0000 (18:34 +0200)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Sat, 29 Sep 2012 16:34:35 +0000 (18:34 +0200)
addons/junitlogger/README.md [new file with mode: 0644]

diff --git a/addons/junitlogger/README.md b/addons/junitlogger/README.md
new file mode 100644 (file)
index 0000000..f81fba7
--- /dev/null
@@ -0,0 +1,20 @@
+JUnit Logger
+============
+
+A QUnit extension that produces JUnit-style XML output for test results, for integration into tools like Jenkins.
+
+## Usage
+
+Include the addon script after QUnit itself, and implement the hook to do something with the XML string, for example uploading it to a server somewhere:
+
+```js
+QUnit.jUnitReport = function(data) {
+       console.log(data.xml);
+};
+```
+
+As you might guess, this isn't a full-blown solution, yet.
+
+## Alternatives
+
+If you're using Grunt, you should take a look at its [qunit task](https://github.com/cowboy/grunt/blob/master/docs/task_qunit.md). Or use [John Bender's grunt-junit plugin](https://github.com/johnbender/grunt-junit) to have the `qunit` task output JUnit-style XML, as this reporter does.
\ No newline at end of file

Hosting is provided AltSPAHow to use Git
Please direct any questions on jabber alex.wolf@jabber.ru

Valid HTML 4.0 Transitional Valid CSS!

Designer Alexander Wolf