3 This file is almost the same as context.html - loads all source files,
4 but its purpose is to be loaded in the main frame (not within an iframe),
5 just for immediate execution, without reporting to Karma server.
10 <title>Karma DEBUG RUNNER</title>
11 <link href="favicon.ico" rel="icon" type="image/x-icon" />
12 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
15 <!-- The scripts need to be at the end of body, so that some test running frameworks
16 (Angular Scenario, for example) need the body to be loaded so that it can insert its magic
17 into it. If it is before body, then it fails to find the body and crashes and burns in an epic
19 <script type="text/javascript">
21 info: function(info) {
22 if (info.dump && window.console) window.console.log(info.dump);
24 complete: function() {
25 if (window.console) window.console.log('Skipped ' + this.skipped + ' tests');
29 result: window.console ? function(result) {
34 var msg = result.success ? 'SUCCESS ' : 'FAILED ';
35 window.console.log(msg + result.suite.join(' ') + ' ' + result.description);
37 for (var i = 0; i < result.log.length; i++) {
38 window.console.error(result.log[i]);
48 // All served files with the latest timestamps
51 <!-- Dynamically replaced with <script> tags -->
53 <script type="text/javascript">
54 window.__karma__.loaded();