diff options
Diffstat (limited to 'api')
| -rw-r--r-- | api/.gitignore | 2 | ||||
| -rw-r--r-- | api/pytest.ini | 1 | ||||
| -rw-r--r-- | api/requirements.txt | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/api/.gitignore b/api/.gitignore index 0e4f0a70..b0390689 100644 --- a/api/.gitignore +++ b/api/.gitignore @@ -14,3 +14,5 @@ _mailinglist config.json test.json .env* +.coverage +.junit-report.xml diff --git a/api/pytest.ini b/api/pytest.ini index 8c28be16..8e7964ba 100644 --- a/api/pytest.ini +++ b/api/pytest.ini @@ -2,3 +2,4 @@ env = OPENDC_FLASK_TESTING=True OPENDC_FLASK_SECRET=Secret +junit_family = xunit2 diff --git a/api/requirements.txt b/api/requirements.txt index 9bf69b8f..8d0a283a 100644 --- a/api/requirements.txt +++ b/api/requirements.txt @@ -30,6 +30,7 @@ pylint==2.5.3 pymongo==3.10.1 pyparsing==2.4.7 pytest==5.4.3 +pytest-cov==2.11.1 pytest-env==0.6.2 pytest-mock==3.2.0 python-dotenv==0.14.0 |
