gecko/testing/web-platform/tests/resources
2015-03-23 13:21:13 +00:00
..
docs Bug 1146321 - Update web-platform-tests to revision 1defdd7213b52589e4b7a259e53f4fff359c301a, a=testonly 2015-03-23 13:21:13 +00:00
webidl2 Bug 1124311 - Update web-platform-tests to revision 412773b71c81d7356636f698e86d7b544cf48fcb, a=testonly 2015-01-23 20:06:44 +00:00
.gitignore
.gitmodules
.htaccess
apisample2.htm
apisample3.htm
apisample4.htm
apisample5.htm
apisample6.html
apisample7.html
apisample8.html
apisample9.html
apisample10.html
apisample11.html Bug 1118722 - Update web-platform-tests to revision a4f1782fd9e93746364ed219e60a8c2bafd0910e, a=testonly 2015-01-07 13:12:56 +00:00
apisample12.html Bug 1118722 - Update web-platform-tests to revision a4f1782fd9e93746364ed219e60a8c2bafd0910e, a=testonly 2015-01-07 13:12:56 +00:00
apisample13.html Bug 1118722 - Update web-platform-tests to revision a4f1782fd9e93746364ed219e60a8c2bafd0910e, a=testonly 2015-01-07 13:12:56 +00:00
apisample14.html Bug 1118722 - Update web-platform-tests to revision a4f1782fd9e93746364ed219e60a8c2bafd0910e, a=testonly 2015-01-07 13:12:56 +00:00
apisample15.html Bug 1118722 - Update web-platform-tests to revision a4f1782fd9e93746364ed219e60a8c2bafd0910e, a=testonly 2015-01-07 13:12:56 +00:00
apisample16.html Bug 1118722 - Update web-platform-tests to revision a4f1782fd9e93746364ed219e60a8c2bafd0910e, a=testonly 2015-01-07 13:12:56 +00:00
apisample-error-worker.js Bug 1118722 - Update web-platform-tests to revision a4f1782fd9e93746364ed219e60a8c2bafd0910e, a=testonly 2015-01-07 13:12:56 +00:00
apisample-worker.js Bug 1118722 - Update web-platform-tests to revision a4f1782fd9e93746364ed219e60a8c2bafd0910e, a=testonly 2015-01-07 13:12:56 +00:00
apisample.htm
idlharness.js Bug 1146321 - Update web-platform-tests to revision 1defdd7213b52589e4b7a259e53f4fff359c301a, a=testonly 2015-03-23 13:21:13 +00:00
readme.md
testharness.css Bug 1146321 - Update web-platform-tests to revision 1defdd7213b52589e4b7a259e53f4fff359c301a, a=testonly 2015-03-23 13:21:13 +00:00
testharness.js Bug 1146321 - Update web-platform-tests to revision 1defdd7213b52589e4b7a259e53f4fff359c301a, a=testonly 2015-03-23 13:21:13 +00:00
testharnessreport.js Bug 1146321 - Update web-platform-tests to revision 1defdd7213b52589e4b7a259e53f4fff359c301a, a=testonly 2015-03-23 13:21:13 +00:00

Introdution

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 in the docs/api.md file.

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