node package manager
Easy collaboration. Discover, share, and reuse code in your team. Create a free org »

generator-jasmine-node

Generator-Jasmine-Node

A unit test generator for Yeoman.

Getting Started

To install generator-jasmine-node from npm, run:

$ npm install -g generator-jasmine-node

Finally, initiate the generator:

$ yo jasmine-node

Name your first module, and you're on your way to TDDing dat app.

jasmine-node spec/

Automating the Test Suite

From the root of your project, run:

grunt watch

Now any updates you make to your spec or module file will run the test suite.

Generating Additional Modules & Specs

yo jasmine-node:module "moduleName"

Generating Specs

yo jasmine-node:spec "moduleName"

MIT License