Tests

Each service need to be testing.

Server APP

Testing use Mocha + Chai and Sinon, test coverage with Istambul

npm run test

npm run e2e

npm run unit

#if you like to code and testing in the same time
npm run tdd
gulp test_e2e

Coverage

istanbul cover ./node_modules/mocha/bin/_mocha test/**/*js
Coveralls https://coveralls.io/repos/github/maestro-server/server-app/badge.svg?branch=master

Discovery APP

Testing use pytest

npm run test

python -m unittest discover
Coveralls https://coveralls.io/repos/github/maestro-server/discovery-api/badge.svg?branch=master

Reports APP

Testing use pytest

npm run test

python -m unittest discover
Coveralls https://coveralls.io/repos/github/maestro-server/report-app/badge.svg?branch=master

Data Layer APP

Testing use pytest

npm run test

python -m unittest discover
Coveralls https://coveralls.io/repos/github/maestro-server/data-app/badge.svg?branch=master

Analytics Apps

Testing use pytest

npm run test

python -m unittest discover
Coveralls https://coveralls.io/repos/github/maestro-server/analytics-maestro/badge.svg?branch=master

Analytics Front

Testing use pytest

npm run e2e
Coveralls https://coveralls.io/repos/github/maestro-server/analytics-front/badge.svg?branch=master

Audit App

Testing use pytest

npm run e2e
Coveralls https://coveralls.io/repos/github/maestro-server/audit-app/badge.svg?branch=master