Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
140 lines (80 sloc) 5.47 KB

Tests

This section describe about test tools.

Server APP

Server uses Mocha + Chai and Sinon to execute tests, and to create a coverage report they use Istambul

npm run test

npm run e2e

npm run unit

#you can use a tdd approach to test the code
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 with pytest

npm run test

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

Reports APP

Uses 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 with 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 with 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 with pytest

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

Audit App

Testing with pytest

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