rebolyte / dojo-jasmine

Unit testing with Dojo and Jasmine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unit testing with Dojo and Jasmine

Configuration

npm install to get jasmine-node, the only dependency.

Running

Open tests/specRunner.html to run the tests in the browser. Run node tests/index to run the tests under Node.

To add new tests, add your *.specs.js file to the spec folder, and add it to the dependencies in the require calls in specRunner.html and runner.js.

Thanks to this repo and this tutorial for how to get started in the browser. This repo and this page were helpful for getting things working on the Node side.

About

Unit testing with Dojo and Jasmine


Languages

Language:JavaScript 94.7%Language:CSS 3.9%Language:HTML 1.4%