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.

    Install

    npm i jasmine-spec-factory

    DownloadsWeekly Downloads

    10

    Version

    0.6.0

    License

    MIT

    Last publish

    Collaborators

    • radioactivehamster