https://github.com/jbenner-radham/jasmine-spec-factory
An opinionated Jasmine spec generator for AMD modules.
https://github.com/jbenner-radham/jasmine-spec-factory
Last synced: 3 months ago
JSON representation
An opinionated Jasmine spec generator for AMD modules.
- Host: GitHub
- URL: https://github.com/jbenner-radham/jasmine-spec-factory
- Owner: jbenner-radham
- License: mit
- Created: 2016-08-28T00:35:24.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-10-12T00:57:07.000Z (about 9 years ago)
- Last Synced: 2025-02-23T09:38:53.969Z (8 months ago)
- Language: JavaScript
- Size: 37.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
Jasmine Spec Factory
====================
[![npm Version][NPM VERSION BADGE]][NPM PAGE]
[![GitHub License][LICENSE BADGE]][LICENSE PAGE]
[![Build Status][BUILD BADGE]][BUILD PAGE]An opinionated Jasmine spec generator for AMD modules.
Installation
------------
```sh
$ npm install --global jasmine-spec-factory
```Usage
-----
```sh
$ jasmine-spec-factory ~/path/to/an/amd/module.js
```Testing
-------
```sh
$ 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](http://usejsdoc.org/) [`@exports`](http://usejsdoc.org/tags-exports.html) tag.License
-------
The MIT License (Expat). See the [license file](LICENSE) for details.[BUILD BADGE]: https://img.shields.io/travis/jbenner-radham/jasmine-spec-factory.svg?style=flat-square
[BUILD PAGE]: https://travis-ci.org/jbenner-radham/jasmine-spec-factory
[LICENSE BADGE]: https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square
[LICENSE PAGE]: https://github.com/jbenner-radham/jasmine-spec-factory/blob/master/LICENSE
[NPM PAGE]: https://www.npmjs.com/package/jasmine-spec-factory
[NPM VERSION BADGE]: https://img.shields.io/npm/v/jasmine-spec-factory.svg?style=flat-square