Skip to content

maenu/grunt-template-jasmine-istanbul-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

There are multiple branches, each of which is an isolated example of how to use grunt-template-jasmine-istanbul.

Every example runs tests and generates coverage reports. Just run:

npm install
grunt test:coverage

and the coverage reports will appear in bin/coverage/index.html.

Have a look at the Gruntfile.js for the example configuration.

Examples

Shows a simple configuration without further dependencies and shows how to set up reports.

Uses grunt-contrib-connect to run the test on an ad-hoc server.

Uses grunt-template-jasmine-requirejs to run the test on with RequireJS.

Uses grunt-template-jasmine-requirejs to run the test on with RequireJS, but this time doesn't screw up the RequireJS configuration by overriding the baseUrl option. Instead, this example redirects requests that should point to instrumented sources on the client side.

Uses grunt-template-jasmine-requirejs to run the test on with RequireJS, but this time doesn't screw up the RequireJS configuration by overriding the baseUrl option. Instead, this example redirects requests that should point to instrumented sources on the server side.

About

Example application using grunt-istanbul and grunt-contrib-jasmine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published