Skip to content
This repository has been archived by the owner on Jul 27, 2022. It is now read-only.

Latest commit

 

History

History
23 lines (16 loc) · 780 Bytes

readme.md

File metadata and controls

23 lines (16 loc) · 780 Bytes

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.