/jasmine-run

Bootstrap your Jasmine unit testing with a single script tag.

Primary LanguageJavaScript

Simple Jasmine Spec Runner

Bootstrap your Jasmine unit testing with a single script tag.

http://daniellmb.github.com/jasmine-run/jasmine-1.3.1-run.js
- OR -
http://daniellmb.github.com/jasmine-run/jasmine-2.0.0-run.js

Just include the script file as this live example shows, and your ready to run specs!

<!DOCTYPE html>
<html>
<head>
    <title>Unit Tests</title>
</head>
<body>
    <!-- include jasmine-run -->
    <script type="text/javascript" src="http://daniellmb.github.com/jasmine-run/jasmine-1.3.1-run.js"></script>

    <!-- sources to test -->
    <script type="text/javascript" src="example.js"></script>

    <!-- specs to run -->
    <script type="text/javascript" src="example-specs.js"></script>
</body>
</html>