Skip to content
This repository was archived by the owner on Feb 26, 2019. It is now read-only.

Testing

Tim Severien edited this page Jul 23, 2016 · 4 revisions

Taggd uses Mocha + Jasmine for both unit as behaviour tests. Test coverage report is generated by Istanbul.

Running tests

To run tests, run the following command:

npm test

Creating tests

Tests are placed in the tests directory. The behavior and units subdirectories contain tests for each class. Whenever adding new features or fixing bugs, tests must be added to cover them. 100% code coverage is preferred.

Clone this wiki locally