Debian Codegraph @

debian/tests/test_modules/qunitjs/addons/composite/index.html

raw
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 // optionally provide a name and path
26 { name: "Test File 3", path: "test-file-3.html" }
27 ]);
28 </pre>
29 <h4>Tests</h4>
30 <p>
31 <a href="composite-demo-test.html">Composite Demo</a>: A suite which demoes how Composite is bootstrapped and run.
32 </p>
33 </body>
34 </html>