No description, website, or topics provided.
JavaScript
Pull request Compare This branch is 288 commits behind w3c:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
media
webidl2 @ b927967
.gitignore
.gitmodules
.htaccess
apisample.htm
apisample2.htm
apisample3.htm
idlharness.js
readme.md
testharness.css
testharness.js
testharnessreport.js

readme.md

Introdution

testharness.js provides a framework for writing low-level tests of browser functionality in javascript. It provides a convenient API for making asseertions 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 documentation of the API is kept in the source of testharness.js.

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