Once we have the QUnit files in place, we can set up the test HTML document. In a typical project, this file would be named
index.html and placed in the same test subfolder as
qunit.css. For this demonstration, however, we'll put it in the parent directory.
<head> element of the document contains a
<link> tag for the CSS file and
B.js), and the tests themselves (
<body> tag consists of two main elements for running and displaying the results of the tests.
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Appendix ...