Generates Jasmine Spec Runner html pages for browser based JavaScript tests.
JavaScript
Latest commit f3f0b53 Mar 19, 2013 @matthewkastor add license
Failed to load latest commit information.
License add license Mar 19, 2013
docs updated documentation Mar 6, 2013
node_modules/mustache Rev 1 Mar 6, 2013
src updated documentation Mar 7, 2013
templates Rev 1 Mar 7, 2013
.gitattributes Rev 1 Mar 7, 2013
.gitignore Rev 1 Mar 7, 2013
.nojekyll Rev 1 Mar 7, 2013
.npmignore added npmignore Mar 6, 2013
README.md Rev 1 Mar 7, 2013
index.html Rev 1 Mar 7, 2013
index.js Rev 1 Mar 7, 2013
package.json add license Mar 19, 2013

README.md

A utility for use with jasmine-standalone

Generates Jasmine Spec Runner html pages for browser based JavaScript tests. This makes it possible to automatically update the spec runner when building your project.

It's easy to use:

var JasmineSpecRunnerGenerator = require(
    'atropa-jasmine-spec-runner-generator-html');

specRunner = new JasmineSpecRunnerGenerator(
    '/js/jasmine/', 'banana tester.html', 'Banana Test Suite');

specRunner.addSources(__dirname, '/js/myLib/');

specRunner.addSpecs('./specs/', '/myLib/test/specs/');

specRunner.generate(console.log);

/*
specRunner.generateFile(
    function () {
        console.log('ok');
    }
);
*/

Install it on node from npm

npm install atropa-jasmine-spec-runner-generator-html

Visual studio intellisense support is available in docs/vsdoc/OpenLayersAll.js Full documentation may be found at http://matthewkastor.github.com/atropa-jasmine-spec-runner-generator-html