Skip to content

Instantly share code, notes, and snippets.

@jsakamoto
Created September 18, 2012 13:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jsakamoto/3743129 to your computer and use it in GitHub Desktop.
Save jsakamoto/3743129 to your computer and use it in GitHub Desktop.
The example of QUnit test harness.
<!DOCTYPE html>
<html>
<head>
<title>QUnit Test Suite</title>
<link href="Content/qunit.css" rel="stylesheet" />
<script src="Scripts/qunit.js"></script>
<!-- Your project file goes here -->
<script src="Scripts/formatAsYen.js"></script>
<!-- Your tests file goes here -->
<script src="Scripts/formatAsYen.test.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>
<div id="qunit-fixture"></div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment