Skip to content

Instantly share code, notes, and snippets.

@jrallison
Created June 19, 2013 15:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jrallison/5815086 to your computer and use it in GitHub Desktop.
Save jrallison/5815086 to your computer and use it in GitHub Desktop.
QUnit loader HTML and CSS
<body>
<div id="results"></div>
<div id="qunit"></div>
<div id="qunit-fixture"></div>
<div id="ember-testing-container"><div id="application"></div></div>
<style>
#results {
font-family: Courier New;
font-size: 12px;
background-color: black;
border-top: 5px solid yellow;
padding: 5px;
color: #CCC;
}
#results.passed {
border-color: lime;
}
#results.failed {
border-color: red;
}
#results .pass {
color: lime;
}
#results .fail {
color: red;
}
#results .summary {
padding-top: 5px;
font-family: Proxima Nova;
}
#ember-testing-container {
width: 100%;
border-top: 2px solid white;
}
#application {
border-top: 2px solid #CCC;
zoom: 100%;
}
</style>
<script type="text/javascript" src="tests.js"></script>
</body>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment