This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
test:scripttest [2012/06/16 17:17] – testharness.js api docs paulirish | test:scripttest [2012/11/30 12:12] – [Basic Usage] type="text/javascript" was missing from code gtalbot | ||
---|---|---|---|
Line 24: | Line 24: | ||
<code html> | <code html> | ||
- | <script src="/ | + | < |
- | <script src="/ | + | < |
</ | </ | ||
* Each test can have one or more asserts. Note: some prefer a test is limited to a single assert but that is not mandatory. | * Each test can have one or more asserts. Note: some prefer a test is limited to a single assert but that is not mandatory. | ||
Line 35: | Line 35: | ||
===== Writing tests ===== | ===== Writing tests ===== | ||
- | The full API of testharness.js is documented within the file. [[http:// | + | The full API of testharness.js is documented within the [[http:// |
==== Bug Reporting ==== | ==== Bug Reporting ==== |