2012-11-02 13:03:09 +08:00
|
|
|
# Overview
|
|
|
|
|
|
|
|
grunt-contrib-jasmine automatically builds and maintains your spec runner and runs your tests headlessly through
|
|
|
|
phantomjs
|
|
|
|
|
|
|
|
Substantial credit goes to [Camille Reynders](http://creynders.be/) (@creynders) for the first decent implementation
|
|
|
|
of jasmine through grunt which served as motivation for all the future work.
|
|
|
|
|
|
|
|
## Run specs locally or on an ad hoc server
|
|
|
|
|
|
|
|
Run your tests on your local filesystem or via a server task like [grunt-contrib-connect][].
|
|
|
|
|
|
|
|
## AMD Support
|
|
|
|
|
|
|
|
Includes a SpecRunner template customized for use with AMD modules and requirejs.
|
|
|
|
|
|
|
|
## Customize your SpecRunner with your own template
|
|
|
|
|
|
|
|
Supply your own underscore template to automatically build your SpecRunner custom to your use.
|
|
|
|
|
2012-11-09 08:57:30 +08:00
|
|
|
## Example application usage
|
2012-11-02 13:03:09 +08:00
|
|
|
|
2012-11-09 08:57:30 +08:00
|
|
|
- [Pivotal Labs' sample application](https://github.com/jsoverson/grunt-contrib-jasmine-example)
|
2012-11-02 13:03:09 +08:00
|
|
|
|
|
|
|
[grunt-contrib-connect]: https://github.com/gruntjs/grunt-contrib-connect
|
2012-11-02 13:03:09 +08:00
|
|
|
|