Created
November 1, 2012 04:49
-
-
Save asavoy/3991896 to your computer and use it in GitHub Desktop.
Example test_page file for (manually) integrating testem.js with a JavascriptMVC / StealJS site.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<title>Testem + QUnit</title> | |
<script type='text/javascript' src='steal/steal.js'></script> | |
<script type='text/javascript'> | |
// Load funcunit and qunit first, then the testem.js, | |
// then our qunit tests. | |
steal('funcunit', 'funcunit/qunit') | |
.then('/testem.js') | |
.then('helpers/marks/marks_test.js', | |
'helpers/common/common_test.js'); | |
</script> | |
<link rel="stylesheet" type="text/css" href="funcunit/qunit/qunit.css" /> | |
</head> | |
<body> | |
<h1 id="qunit-header">Testem + Qunit Test Suite</h1> | |
<h2 id="qunit-banner"></h2> | |
<div id="qunit-testrunner-toolbar"></div> | |
<h2 id="qunit-userAgent"></h2> | |
<div id="test-content"></div> | |
<ol id="qunit-tests"></ol> | |
<div id="qunit-test-area"></div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment