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/20 16:33] – [Writing tests] jacobgtest:scripttest [2012/12/11 15:55] – [Per-Test Metadata] plinss
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 60: Line 60:
 </code> </code>
  
-These values would override any metadata set in the <head> of the test and are only needed when the individual test's metadata is different from what's in the <head>.+Each value can be either a single string, or an array of strings if multiple values need to be specified. These values would override any metadata set in the <head> of the test and are only needed when the individual test's metadata is different from what's in the <head>.
  
 If there is only a single script test in a file, all metadata should be in the <head>. If there is only a single script test in a file, all metadata should be in the <head>.
 
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