Home page Forum Wiki Mail Jabber Devel NIX-FILES

AltLUG Git

Git-repositories of Altai Linux User Group

Cleanup composite addon: Use callback registration instead of overwriting them. Set...
[qunit.git] / addons / composite / index.html
1 <!DOCTYPE html>
2 <html>
3         <head>
4                 <meta charset="UTF-8" />
5                 <title>Composite</title>
6         </head>
7         <body>
8                 <h1>Composite</h1>
9                 <h3>A QUnit Addon For Running Multiple Test Files</h3>
10                 <p>Composite is a QUnit addon that, when handed an array of
11                 files, will open each of those files inside of an iframe, run
12                 the tests and display the results as a single suite of QUnit
13                 tests.</p>
14                 <h4>Using Composite</h4>
15                 <p>To use Composite, setup a standard QUnit html page as you
16                 would with other QUnit tests. Remember to include composite.js
17                 and composite.css. Then, inside of either an external js file,
18                 or a script block call the only new method that Composite
19                 exposes, QUnit.testSuites().</p><p>QUnit.testSuites() is
20                 passed an array of test files to run as follows:</p>
21                 <pre>
22 QUnit.testSuites([
23     "test-file-1.html",
24     "test-file-2.html",
25     "test-file-3.html"
26 ]);
27                 </pre>
28                 <h4>Tests</h4>
29                 <p>
30                         <a href="composite-demo-test.html">Composite Demo</a>: A suite which demoes how Composite is bootstrapped and run.
31                 </p>
32         </body>
33 </html>

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