Use pytest for running tests

This commit is contained in:
Swen Kooij
2019-10-19 12:48:32 +03:00
parent 7cdd1f4490
commit 2cb80431cc
6 changed files with 31 additions and 5 deletions

View File

@@ -138,5 +138,19 @@ setup(
]
],
),
"test": create_command(
"Runs all the tests",
[
[
"pytest",
"--cov=localized_fields",
"--cov-report=term",
"--cov-report=xml:reports/xml",
"--cov-report=html:reports/html",
"--junitxml=reports/junit/tests.xml",
"--reuse-db",
]
],
),
},
)