| 1 |
--- |
| 2 |
layout: main |
| 3 |
title: Unit Tests |
| 4 |
--- |
| 5 |
|
| 6 |
<div style="min-height:600px"> |
| 7 |
<h1>HeadJS Unit Tests</h1> |
| 8 |
<div class="intro"> |
| 9 |
Unit tests powered by <a href="http://qunitjs.com/" target="_blank">QUnit</a>, <a href="http://www.browserscope.org/" target="_blank">Browserscope</a>, <a href="http://about.travis-ci.org/blog/" target="_blank">Travis-CI</a>, and <a href="http://phantomjs.org/" target="_blank">PhantomJS</a> |
| 10 |
</div> |
| 11 |
<ul> |
| 12 |
<li> |
| 13 |
<h4> |
| 14 |
<a href="/test/unit/{{site.head.major}}/">{{site.head.minor}}</a> |
| 15 |
</h4> |
| 16 |
</li> |
| 17 |
<li> |
| 18 |
<h4> |
| 19 |
<a href="/test/unit/0.99/">0.99</a> |
| 20 |
</h4> |
| 21 |
</li> |
| 22 |
<li> |
| 23 |
<h4> |
| 24 |
<a href="/test/unit/0.98/">0.98</a> |
| 25 |
</h4> |
| 26 |
</li> |
| 27 |
<li> |
| 28 |
<h4> |
| 29 |
<a href="/test/unit/0.97a/">0.97a</a> |
| 30 |
</h4> |
| 31 |
</li> |
| 32 |
</ul> |
| 33 |
|
| 34 |
|
| 35 |
<h1>Standalone Tests</h1> |
| 36 |
<div class="intro"> |
| 37 |
See how script ordering affects load times. The older the browser, the more performance you see when loading in parallel with HeadJS. |
| 38 |
</div> |
| 39 |
<ul> |
| 40 |
<li> |
| 41 |
<h4> |
| 42 |
<a href="/test/headjs-ordered.html">headjs-ordered</a> |
| 43 |
</h4> |
| 44 |
</li> |
| 45 |
<li> |
| 46 |
<h4> |
| 47 |
<a href="/test/headjs.html">headjs</a> |
| 48 |
</h4> |
| 49 |
</li> |
| 50 |
<li> |
| 51 |
<h4> |
| 52 |
<a href="/test/script-bottom.html">script-bottom</a> |
| 53 |
</h4> |
| 54 |
</li> |
| 55 |
<li> |
| 56 |
<h4> |
| 57 |
<a href="/test/script.html">script</a> |
| 58 |
</h4> |
| 59 |
</li> |
| 60 |
<li> |
| 61 |
<h4> |
| 62 |
<a href="/test/viewport.html">viewport</a> |
| 63 |
</h4> |
| 64 |
</li> |
| 65 |
</ul> |
| 66 |
|
| 67 |
</div> |
| 68 |
|
| 69 |
<div class="intro"> |
| 70 |
<strong>Make it the only script in your HEAD.</strong> |
| 71 |
« A concise solution to universal problems » |
| 72 |
</div> |
| 73 |
|
| 74 |
{% include sections/download.html %} |