Skip to content

larsthorup/jsdevenv-jasmine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jsdevenv-jasmine

Build Status Coverage Status devDependency Status

A sample build environment for JavaScript projects using Jasmine for testing

Prerequisites:

  • install node.js

then

npm install
npm install -g grunt-cli

From the browser

run all tests

file://(path-to)/src/test/index.html

run app

file://(path-to)/src/index.html

From the command line

continuously lint and test on every save

grunt watch

perform static analysis

grunt lint

run all tests (results in output\testresults)

grunt test

produce test coverage statistics in html format (in output\coverage\index.html)

grunt coverage:html

produce test coverage statistics in cobertura format (in output\coverage\cobertura)

grunt coverage:cobertura

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published