servo/tests/wpt/css-tests/resources
Ms2ger 296fa2512b Update web-platform-tests and CSS tests.
- Update CSS tests to revision e05bfd5e30ed662c2f8a353577003f8eed230180.
- Update web-platform-tests to revision a052787dd5c069a340031011196b73affbd68cd9.
2017-02-06 22:38:29 +01:00
..
docs Update web-platform-tests and CSS tests. 2017-02-06 22:38:29 +01:00
examples Update web-platform-tests and CSS tests. 2017-02-06 22:38:29 +01:00
webidl2 Update web-platform-tests and CSS tests. 2017-02-06 22:38:29 +01:00
.gitignore Update CSS tests to revision 31d63cc79bd4c929ed582229e936d7b389f3e6ab 2015-04-03 23:29:19 +01:00
.gitmodules Update CSS tests to revision 31d63cc79bd4c929ed582229e936d7b389f3e6ab 2015-04-03 23:29:19 +01:00
.htaccess Update CSS tests to revision 31d63cc79bd4c929ed582229e936d7b389f3e6ab 2015-04-03 23:29:19 +01:00
idlharness.js Update web-platform-tests and CSS tests. 2017-02-06 22:38:29 +01:00
LICENSE Update web-platform-tests and CSS tests. 2017-02-06 22:38:29 +01:00
readme.md Update web-platform-tests and CSS tests. 2017-02-06 22:38:29 +01:00
testharness.css Update CSS tests to revision 31d63cc79bd4c929ed582229e936d7b389f3e6ab 2015-04-03 23:29:19 +01:00
testharness.js Update web-platform-tests and CSS tests. 2017-02-06 22:38:29 +01:00
testharnessreport.js Update CSS tests to revision 584b6cdd10401df603bd7bdf4ec801fcddc65468 2015-09-04 16:52:07 +02:00

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

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