Skip to content
This repository has been archived by the owner on Feb 28, 2020. It is now read-only.
Mike Tunnicliffe edited this page May 19, 2017 · 1 revision

There are several sets of tests defined for the project (defined using npm scripts in the package.json) that you can choose from, or you can run mocha directly and use --grep to select a single (or set of) tests.

  • npm test will just run the unit tests (these are fast)
  • npm run testintfast will run the fast integration tests (those that don't compile the generated apps)
  • npm run testint will run all the integration tests (including those that compile) -- this is slow and includes some tests that travis doesn't run
  • npm run coverage will run all the integration tests that don't include the tag @full and will do so under nyc for a coverage report -- this is what travis does
Clone this wiki locally