forked from parallel-js/parallel.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
SpecRunner.html
42 lines (33 loc) · 1.35 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
38
39
40
41
42
<!DOCTYPE html>
<html>
<head>
<title>Jasmine Spec Runner</title>
<link rel="stylesheet" type="text/css" href="test/jasmine/jasmine.css">
<script type="text/javascript" src="test/jasmine/jasmine.js"></script>
<script type="text/javascript" src="test/jasmine/jasmine-html.js"></script>
<!-- include source files here... -->
<script type="text/javascript" src="lib/parallel.js"></script>
<!-- include spec files here... -->
<script type="text/javascript" src="test/specs/worker.spec.js"></script>
<script type="text/javascript" src="test/specs/eval.spec.js"></script>
<script type="text/javascript" src="test/specs/api.spec.js"></script>
<script type="text/javascript" src="test/specs/operations.spec.js"></script>
<script type="text/javascript" src="test/specs/performance.spec.js"></script>
<script type="text/javascript">
(function () {
var jasmineEnv = jasmine.getEnv();
jasmineEnv.updateInterval = 1000;
var htmlReporter = new jasmine.HtmlReporter();
jasmineEnv.addReporter(htmlReporter);
jasmineEnv.specFilter = function (spec) {
return htmlReporter.specFilter(spec);
};
window.onload = function () {
jasmineEnv.execute();
};
})();
</script>
</head>
<body>
</body>
</html>