gecko-dev/testing/web-platform/tests/resources
Michael Layzell 3fc986fd80 Bug 1397356 - Remove unnecessary custom testharnessreport.js file, r=jgraham 2017-09-06 17:15:57 -04:00
..
chromium Bug 1391582 - Update web-platform-tests to revision b039c00a086291f97df9caa6b999e9d123c91b27, a=testonly 2017-08-18 17:26:53 +01:00
test Bug 1391582 - Update web-platform-tests to revision b039c00a086291f97df9caa6b999e9d123c91b27, a=testonly 2017-08-18 17:26:53 +01:00
webidl2 Bug 1386604 - Update web-platform-tests to revision 8b5316ad93c6c1238eea26a3d8052e32b34bbabd, a=testonly 2017-08-03 11:31:54 +01:00
.gitignore
.htaccess
LICENSE
OWNERS Bug 1381842 - Update web-platform-tests to revision 85ae24e3dc80ee63b6dc2ed78a922cff68c6e819, a=testonly 2017-07-20 13:05:25 +01:00
idlharness.js Bug 1386604 - Update web-platform-tests to revision 8b5316ad93c6c1238eea26a3d8052e32b34bbabd, a=testonly 2017-08-03 11:31:54 +01:00
idlharness.js.headers Bug 1386604 - Update web-platform-tests to revision 8b5316ad93c6c1238eea26a3d8052e32b34bbabd, a=testonly 2017-08-03 11:31:54 +01:00
readme.md Bug 1363982 - Update web-platform-tests to revision db6ed4bb451e44748cbb9af69d0a01c17a33571a a=testonly 2017-05-11 18:01:46 +01:00
testharness.css
testharness.css.headers Bug 1386604 - Update web-platform-tests to revision 8b5316ad93c6c1238eea26a3d8052e32b34bbabd, a=testonly 2017-08-03 11:31:54 +01:00
testharness.js Bug 1391582 - Update web-platform-tests to revision b039c00a086291f97df9caa6b999e9d123c91b27, a=testonly 2017-08-18 17:26:53 +01:00
testharness.js.headers Bug 1386604 - Update web-platform-tests to revision 8b5316ad93c6c1238eea26a3d8052e32b34bbabd, a=testonly 2017-08-03 11:31:54 +01:00
testharnessreport.js Bug 1397356 - Remove unnecessary custom testharnessreport.js file, r=jgraham 2017-09-06 17:15:57 -04:00
testharnessreport.js.headers Bug 1386604 - Update web-platform-tests to revision 8b5316ad93c6c1238eea26a3d8052e32b34bbabd, a=testonly 2017-08-03 11:31:54 +01:00

readme.md

Introduction

testharness.js provides a framework for writing low-level tests of browser functionality in javascript. It provides a convenient API for making assertions and is intended to work for both simple synchronous tests and for tests of asynchronous behaviour.

Getting Started

To use testharness.js you must include two scripts, in the order given:

<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>

Full documentation

Full user documentation for the API is at http://web-platform-tests.org/writing-tests/testharness-api.html.

You can also read a tutorial on Using testharness.js.