---
layout: main
title: Unit Tests
---

<div style="min-height:600px">
    <h1>HeadJS Unit Tests</h1>   
    <div class="intro">    
        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>
    </div>        
    <ul>
        <li>
            <h4>
                <a href="/test/unit/{{site.head.major}}/">{{site.head.minor}}</a>
            </h4>               
        </li>
        <li>
            <h4>
                <a href="/test/unit/0.99/">0.99</a>
            </h4> 
        </li>
        <li>
            <h4>
                <a href="/test/unit/0.98/">0.98</a>
            </h4>               
        </li>
        <li>
            <h4>
                <a href="/test/unit/0.97a/">0.97a</a>
            </h4>                
        </li>
    </ul>
    

    <h1>Standalone Tests</h1>
    <div class="intro">    
        See how script ordering affects load times. The older the browser, the more performance you see when loading in parallel with HeadJS.
    </div>  
    <ul>
        <li>
            <h4>
                <a href="/test/headjs-ordered.html">headjs-ordered</a>
            </h4>                
        </li>
        <li>
            <h4>
                <a href="/test/headjs.html">headjs</a>
            </h4>               
        </li>
        <li>
            <h4>
                <a href="/test/script-bottom.html">script-bottom</a>
            </h4> 
        </li>
        <li>
            <h4>
                <a href="/test/script.html">script</a>
            </h4> 
        </li>
        <li>
            <h4>
                <a href="/test/viewport.html">viewport</a>
            </h4> 
        </li>
    </ul>

</div>

<div class="intro">    
    <strong>Make it the only script in your HEAD.</strong>
    &laquo; A concise solution to universal problems &raquo;
</div>  

{% include sections/download.html %}