gecko-dev/testing/web-platform/tests/resources
James Graham 6d8a5cdbc6 Bug 1225032 - Update web-platform-tests to revision a5f15d6bdbeeec010465dc906e542873d64797ec, a=testonly
--HG--
rename : testing/web-platform/tests/dom/collections/storage-supported-property-names.html => testing/web-platform/tests/webstorage/storage_supported_property_names.html
2015-11-16 13:52:16 +00:00
..
docs Bug 1214162 - Update web-platform-tests to revision 886dea2c3dbb79925360319a6a0f662ce196ab3c, a=testonly 2015-10-16 17:04:35 +01:00
examples Bug 1183628 - Update web-platform-tests to revision 593fd27931d7e9d573d2796fe10df9fff778d56f, a=testonly 2015-07-14 14:39:06 +01:00
webidl2 Bug 1214162 - Update web-platform-tests to revision 886dea2c3dbb79925360319a6a0f662ce196ab3c, a=testonly 2015-10-16 17:04:35 +01:00
.gitignore
.gitmodules
.htaccess
idlharness.js Bug 1214162 - Update web-platform-tests to revision 886dea2c3dbb79925360319a6a0f662ce196ab3c, a=testonly 2015-10-16 17:04:35 +01:00
LICENSE Bug 1183628 - Update web-platform-tests to revision 593fd27931d7e9d573d2796fe10df9fff778d56f, a=testonly 2015-07-14 14:39:06 +01:00
readme.md Bug 1103906 - Update web-platform-tests to revision 551060ba2eb3fa6d1c713c179d52fdf1132ea50c, a=testonly 2014-11-24 12:56:30 +00:00
testharness.css Bug 1146321 - Update web-platform-tests to revision 1defdd7213b52589e4b7a259e53f4fff359c301a, a=testonly 2015-03-23 13:21:13 +00:00
testharness.js Bug 1225032 - Update web-platform-tests to revision a5f15d6bdbeeec010465dc906e542873d64797ec, a=testonly 2015-11-16 13:52:16 +00:00
testharnessreport.js Bug 1183628 - Update web-platform-tests to revision 593fd27931d7e9d573d2796fe10df9fff778d56f, a=testonly 2015-07-14 14:39:06 +01: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.