Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / imported / web-platform-tests / resources / readme.md
blob5c5b36c28693c19c26ee131080150b9dbcfb7bc9
1 ## Introdution ##
3 testharness.js provides a framework for writing low-level tests of
4 browser functionality in javascript. It provides a convenient API for
5 making assertions and is intended to work for both simple synchronous
6 tests and for tests of asynchronous behaviour.
8 ## Getting Started ##
10 To use testharness.js you must include two scripts, in the order given:
12 ``` html
13 <script src="/resources/testharness.js"></script>
14 <script src="/resources/testharnessreport.js"></script>
15 ```
17 ## Full documentation ##
19 Full user documentation for the API is in the
20 [docs/api.md](https://github.com/w3c/testharness.js/blob/master/docs/api.md) file.
22 You can also read a tutorial on 
23 [Using testharness.js](http://darobin.github.com/test-harness-tutorial/docs/using-testharness.html).