Skip to content

Instantly share code, notes, and snippets.

@nmcv
Created December 2, 2012 16:10
Show Gist options
  • Save nmcv/4189508 to your computer and use it in GitHub Desktop.
Save nmcv/4189508 to your computer and use it in GitHub Desktop.
QUnit test suite boilerplate
<!DOCTYPE html>
<html>
<head>
<title>QUnit Test Suite</title>
<link rel="stylesheet" href="//code.jquery.com/qunit/qunit-git.css">
<script src="//code.jquery.com/qunit/qunit-git.js"></script>
<!-- Your project file goes here -->
<script src="myProject.js"></script>
<!-- Your tests file goes here -->
<script src="myTests.js"></script>
</head>
<body>
<h1 id="qunit-header">QUnit Test Suite</h1>
<h2 id="qunit-banner"></h2>
<div id="qunit-testrunner-toolbar"></div>
<h2 id="qunit-userAgent"></h2>
<ol id="qunit-tests"></ol>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment