Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
964c21ff
Commit
964c21ff
authored
May 06, 2013
by
Calen Pennington
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a jasmine test runner for capa
parent
1c28f5a0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
48 additions
and
0 deletions
+48
-0
common/lib/capa/jasmine_test_runner.html.erb
+48
-0
No files found.
common/lib/capa/jasmine_test_runner.html.erb
0 → 100644
View file @
964c21ff
<!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=
"
<%=
phantom_jasmine_path
%>
/vendor/jasmine-1.2.0/jasmine.css"
>
<script
type=
"text/javascript"
src=
"
<%=
phantom_jasmine_path
%>
/vendor/jasmine-1.2.0/jasmine.js"
></script>
<script
type=
"text/javascript"
src=
"
<%=
phantom_jasmine_path
%>
/vendor/jasmine-1.2.0/jasmine-html.js"
></script>
<script
type=
"text/javascript"
src=
"
<%=
phantom_jasmine_path
%>
/lib/console-runner.js"
></script>
<script
type=
"text/javascript"
src=
"
<%=
common_coffee_root
%>
/ajax_prefix.js"
></script>
<script
type=
"text/javascript"
src=
"
<%=
common_coffee_root
%>
/logger.js"
></script>
<script
type=
"text/javascript"
src=
"
<%=
common_js_root
%>
/vendor/jquery.min.js"
></script>
<script
type=
"text/javascript"
src=
"
<%=
common_js_root
%>
/vendor/jasmine-jquery.js"
></script>
<script
type=
"text/javascript"
src=
"
<%=
common_js_root
%>
/vendor/jquery.cookie.js"
></script>
<script
type=
"text/javascript"
src=
"
<%=
common_js_root
%>
/vendor/CodeMirror/codemirror.js"
></script>
<script
type=
"text/javascript"
src=
"
<%=
common_js_root
%>
/vendor/tiny_mce/jquery.tinymce.js"
></script>
<script
type=
"text/javascript"
src=
"
<%=
common_js_root
%>
/vendor/tiny_mce/tiny_mce.js"
></script>
<script
type=
"text/javascript"
src=
"
<%=
common_js_root
%>
/vendor/RequireJS.js"
></script>
<script
type=
"text/javascript"
>
AjaxPrefix
.
addAjaxPrefix
(
jQuery
,
function
()
{
return
""
;
});
</script>
<!-- SOURCE FILES -->
<%
for
src
in
js_source
%>
<script
type=
"text/javascript"
src=
"
<%=
src
%>
"
></script>
<%
end
%>
<!-- SPEC FILES -->
<%
for
src
in
js_specs
%>
<script
type=
"text/javascript"
src=
"
<%=
src
%>
"
></script>
<%
end
%>
</head>
<body>
<script
type=
"text/javascript"
>
var
console_reporter
=
new
jasmine
.
ConsoleReporter
()
jasmine
.
getEnv
().
addReporter
(
new
jasmine
.
TrivialReporter
());
jasmine
.
getEnv
().
addReporter
(
console_reporter
);
jasmine
.
getEnv
().
execute
();
</script>
</body>
</html>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment