jasmine-spec-factory

0.6.0 • Public • Published

Jasmine Spec Factory

npm Version GitHub License Build Status

An opinionated Jasmine spec generator for AMD modules.

Installation

$ npm install --global jasmine-spec-factory

Usage

$ jasmine-spec-factory ~/path/to/an/amd/module.js

Testing

$ npm test

Opinions

  • Modules are AMD.
  • All public methods are properties assigned to a variable named publicMembers which is an object returned from the module.
  • All property names are enclosed in double quotes.

Issues

  • Module name generation requires it to be documented via JSDoc's @exports tag.

License

The MIT License (Expat). See the license file for details.

Dependents (0)

Package Sidebar

Install

npm i jasmine-spec-factory

Weekly Downloads

0

Version

0.6.0

License

MIT

Last publish

Collaborators

  • radioactivehamster