-
Notifications
You must be signed in to change notification settings - Fork 0
/
SpecRunner.html
37 lines (33 loc) · 1.01 KB
/
SpecRunner.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<!DOCTYPE HTML>
<html>
<head>
<title>Mocha Spec Runner</title>
<!-- library files -->
<script src="lib/jquery-1.8.3.js"></script>
<script src="lib/underscore.js"></script>
<script src="lib/backbone.js"></script>
<!-- testing frameworks -->
<link rel="stylesheet" href="lib/mocha/mocha.css">
<script src="lib/mocha/mocha.js"></script>
<script src="lib/chai/chai.js"></script>
<script src="lib/sinon/sinon.js"></script>
<script>
mocha.setup('bdd');
window.expect = chai.expect;
$(function() {
window.mochaPhantomJS ? mochaPhantomJS.run() : mocha.run();
});
</script>
<!-- source files -->
<script src="src/Board.js"></script>
<script src="src/BoardView.js"></script>
<script src="src/solvers.js"></script>
<!-- tests -->
<script src="spec/BoardSpec.js"></script>
<script src="spec/BoardViewSpec.js"></script>
<script src="spec/solversSpec.js"></script>
</head>
<body>
<div id="mocha"></div>
</body>
</html>