Home page Forum Wiki Mail Jabber Devel NIX-FILES

AltLUG Git

Git-repositories of Altai Linux User Group

Better readme for composite addon
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Sat, 29 Sep 2012 15:33:02 +0000 (17:33 +0200)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Sat, 29 Sep 2012 15:33:15 +0000 (17:33 +0200)
addons/composite/README.md

index 2e2d2fd..a9b1c68 100644 (file)
@@ -9,4 +9,17 @@ The Rerun link next to each suite allows you to quickly rerun that suite,
 outside the composite runner.
 
 If you want to see what assertion failed in a long list of assertions,
-just use the regular "Hide passed tests" checkbox.
\ No newline at end of file
+just use the regular "Hide passed tests" checkbox.
+
+## Usage
+
+Load QUnit itself along with `qunit-composite.css` and `qunit-composite.js`,
+then specify the testsuites to load using `QUnit.testSuites`:
+
+```js
+QUnit.testSuites([
+    "test-file-1.html",
+    "test-file-2.html",
+    "test-file-3.html"
+]);
+```
\ 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