This is basically the Jasmine Standalone Release
It includes:
When creating a new module and its corresponding spec file, remember it all in the SpecRunner.html like below:
Example:
<!-- include source files here... -->
<script src="src/helloWorld.js"></script>
<!-- include spec files here... -->
<script src="spec/helloWorld_spec.js"></script>
The Javascript code that launches and executes the specs/tests resides in the specRunner.html, within the <script>
tags as below:
<script type="text/javascript">
(function() {
var jasmineEnv = jasmine.getEnv();
jasmineEnv.updateInterval = 1000;
var trivialReporter = new jasmine.TrivialReporter();
jasmineEnv.addReporter(trivialReporter);
jasmineEnv.specFilter = function(spec) {
return trivialReporter.specFilter(spec);
};
var currentWindowOnload = window.onload;
window.onload = function() {
if (currentWindowOnload) {
currentWindowOnload();
}
execJasmine();
};
function execJasmine() {
jasmineEnv.execute();
}
})();
</script>
Made with great inspiration from