02. Code Coverage - medullan/mean GitHub Wiki

Code Coverage

Code coverage was generated for unit, integration and functional tests. Istanbul was used as the reporting tool for this kind of report. There is no special command that was added for unit and integration testing to generate code coverage.

you can simply run:

$ grunt test

This will run all unit and integration tests and generate code coverage reports after the execution is done.

Output:

  • UI: .reports/coverage/ui
  • Server: .reports/coverage/server

Code coverage for functional tests is covered later on. Please see the Functional Test: Code Coverage section