75 lines
2.2 KiB
HTML
75 lines
2.2 KiB
HTML
<!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>
|
|
</head>
|
|
<script type="text/javascript" src="lib/json2.js"></script>
|
|
|
|
<script type="text/javascript" src="../src/base.js"></script>
|
|
<script type="text/javascript" src="../src/util.js"></script>
|
|
<script type="text/javascript" src="../src/Env.js"></script>
|
|
<script type="text/javascript" src="../src/ActionCollection.js"></script>
|
|
<script type="text/javascript" src="../src/Matchers.js"></script>
|
|
<script type="text/javascript" src="../src/NestedResults.js"></script>
|
|
<script type="text/javascript" src="../src/PrettyPrinter.js"></script>
|
|
<script type="text/javascript" src="../src/QueuedFunction.js"></script>
|
|
<script type="text/javascript" src="../src/Reporters.js"></script>
|
|
<script type="text/javascript" src="../src/Runner.js"></script>
|
|
<script type="text/javascript" src="../src/Spec.js"></script>
|
|
<script type="text/javascript" src="../src/Suite.js"></script>
|
|
|
|
<script type="text/javascript" src="../lib/TrivialReporter.js"></script>
|
|
<script type="text/javascript" src="../lib/json_reporter.js"></script>
|
|
|
|
<script type="text/javascript" src="lib/mock-timeout.js"></script>
|
|
|
|
<script type="text/javascript">
|
|
jasmine.include('suites/ExceptionsTest.js', true);
|
|
jasmine.include('suites/JsonReporterTest.js', true);
|
|
jasmine.include('suites/MatchersTest.js', true);
|
|
jasmine.include('suites/NestedResultsTest.js', true);
|
|
jasmine.include('suites/PrettyPrintTest.js', true);
|
|
jasmine.include('suites/ReporterTest.js', true);
|
|
jasmine.include('suites/RunnerTest.js', true);
|
|
jasmine.include('suites/SpecRunningTest.js', true);
|
|
jasmine.include('suites/SpyTest.js', true);
|
|
</script>
|
|
|
|
<style type="text/css">
|
|
.spec {
|
|
margin: 5px;
|
|
}
|
|
|
|
.passed {
|
|
background-color: lightgreen;
|
|
}
|
|
|
|
.failed {
|
|
background-color: pink;
|
|
}
|
|
|
|
.resultMessage {
|
|
white-space: pre;
|
|
}
|
|
|
|
.stackTrace {
|
|
white-space: pre;
|
|
font-size: .8em;
|
|
margin-left: 10px;
|
|
}
|
|
</style>
|
|
|
|
<body>
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
|
var jasmineEnv = jasmine.getEnv();
|
|
jasmineEnv.reporter = new jasmine.TrivialReporter();
|
|
jasmineEnv.execute();
|
|
console.log('env', jasmineEnv);
|
|
</script>
|
|
|
|
</body>
|
|
</html> |