Skip to content

hackreactor/wellTested

 
 

Repository files navigation

wellTested

A simple, well-tested todo app

Initial setup

Install the grunt-cli module globally:

npm install -g grunt-cli

Install dependencies:

npm install

Running the tests

To build and run tests once:

grunt build test

To build, then watch for changes and run tests accordingly:

grunt

Software Used

Jasmine is used for client-side unit testing.

Karma is used to run unit tests client-side in real browsers.

The following Karma plugins are used:

Istanbul generates code coverage reports for client-side unit tests.

CasperJS is used to run client-side end-to-end tests in a headless browser.

PhantomCSS is used to run visual regression tests in a headless browser.

Grunt is used to perform build tasks and kick of testing operations, as well as watch files for changes and test accordingly.

The following Grunt plugins are used:

Services Used

TravisCI is used to run tests when commits are pushed or pull requests are submitted.

See GUI & Headless browser testing with Travis for information on setting up Travis for headless testing.

Coveralls is used to track code coverage over time. After tests run on TravisCI, the code coverage report is submitted to Coveralls.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 88.5%
  • CSS 11.5%