Skip to content

Instantly share code, notes, and snippets.

@seamusjr
Created June 24, 2011 17:00
Show Gist options
  • Save seamusjr/1045203 to your computer and use it in GitHub Desktop.
Save seamusjr/1045203 to your computer and use it in GitHub Desktop.
Jasmine/JQuery/jasmine-jquery test runner html template
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Jasmine Test Runner</title>
<link rel="stylesheet" type="text/css" href="lib/jasmine-1.0.2/jasmine.css">
<script type="text/javascript" src="lib/jasmine-1.0.2/jasmine.js"></script>
<script type="text/javascript" src="lib/jasmine-1.0.2/jasmine-html.js"></script>
<script src="lib/jquery-1.6.1.min.js" type="text/javascript" charset="utf-8"></script>
<script src="lib/jasmine-jquery-1.2.0.js" type="text/javascript" charset="utf-8"></script>
<!-- include source files here... -->
<!-- <script type="text/javascript" src="src/Player.js"></script>
<script type="text/javascript" src="src/Song.js"></script> -->
<!-- include spec files here... -->
<!-- <script type="text/javascript" src="spec/SpecHelper.js"></script>
<script type="text/javascript" src="spec/PlayerSpec.js"></script> -->
</head>
<body>
<script type="text/javascript">
jasmine.getEnv().addReporter(new jasmine.TrivialReporter());
jasmine.getEnv().execute();
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment