mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-12 17:34:16 -04:00
Merge pull request #757 from alphagov/dist-tests
Make tests run faster by using multiple CPU cores
This commit is contained in:
@@ -3,6 +3,7 @@ pep8==1.7.0
|
||||
pytest==2.9.1
|
||||
pytest-mock==0.11.0
|
||||
pytest-cov==2.2.1
|
||||
pytest-xdist==1.14
|
||||
coveralls==1.1
|
||||
moto==0.4.23
|
||||
httpretty==0.8.14
|
||||
|
||||
@@ -33,8 +33,5 @@ display_result $? 2 "Front end code style check"
|
||||
export NOTIFY_ADMIN_ENVIRONMENT='config.Test'
|
||||
|
||||
## Code coverage
|
||||
py.test --cov=app --cov-report=term-missing tests/
|
||||
py.test -n2 --cov=app --cov-report=term-missing tests/
|
||||
display_result $? 3 "Code coverage"
|
||||
|
||||
#py.test -v
|
||||
#display_result $? 4 "Unit tests
|
||||
|
||||
Reference in New Issue
Block a user