1. Shlomi Fish
  2. shlomi-fish-homepage


shlomi-fish-homepage / Tests / js / test-suite.html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
Test suite for the JS tests for Shlomi Fish's Homepage.
To write in test-driven development (TDD).
Copyright by Shlomi Fish, 2011.
<title>jQTree Population Test</title>
<script src="jquery-latest.js"></script>
<link rel="stylesheet" href="qunit.css" type="text/css" media="screen" />
<script type="text/javascript" src="qunit.js"></script>
<script type="text/javascript" src="../../common/js/jq.js"></script>
<script type="text/javascript" src="../../common/js/to-jqtree.js"></script>
<script type="text/javascript" src="jqtree-from-h-w-json-nav-menu-test.js"></script>

  <script type="text/javascript">
      $(document).ready(function () {
          try {
          catch (err) {
            test("global_failure", function() {
                ok (false, 'test_abc_path() has thrown an exception or is invalid.');
          // Hide passed tests by default.

  <h1 id="qunit-header">QUnit example</h1>
 <h2 id="qunit-banner"></h2>
 <div id="qunit-testrunner-toolbar"></div>
 <h2 id="qunit-userAgent"></h2>
 <ol id="qunit-tests"></ol>
 <div id="qunit-fixture">test markup, will be hidden</div>