Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
test:scripttest [2012/06/16 17:17] – testharness.js api docs paulirishtest: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="/resources/testharness.js"></script> +<script type="text/javascript" src="/resources/testharness.js"></script> 
-<script src="/resources/testharnessreport.js"></script>+<script type="text/javascript" src="/resources/testharnessreport.js"></script>
 </code> </code>
   * 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://documentup.com/paulirish/testharness.js|The API is also documented here]].+The full API of testharness.js is documented within the [[http://w3c-test.org/resources/testharness.js|file]] itself. [[http://documentup.com/paulirish/testharness.js|The API is also documented here]].
  
 ==== Bug Reporting ==== ==== Bug Reporting ====
 
test/scripttest.txt · Last modified: 2014/12/09 15:48 by 127.0.0.1
Recent changes RSS feed Valid XHTML 1.0 Valid CSS Driven by DokuWiki