Skip to content
stalina edited this page Jun 8, 2016 · 2 revisions

Tasty-core wiki for developers

Gulp usage

2 goals are difined in the gulpFile.js :

  1. test : which will launch the unit tests using jasmine. Test files are in the folder /spec/unit
  2. it : which will launch the unit tests using jasmine and phantomjs as headless browser. Test files are in the folder /spec/it

Coverage

Coverage is managed by istanbul and integrated with gulp-istanbul.

Before testing, the hooks are installed. Tests are run Then reports are générated.

To check how this is orchestrated, check gulpfile.js on the pre-test and test steps.

Clone this wiki locally