now calling command.reset() before each test run

factory unit tests added

--run-slow flag added to pre-commit. (ensure all tests are run)
This commit is contained in:
onyx-and-iris
2022-07-16 21:54:41 +01:00
parent 1f522b997e
commit 08eff6da91
5 changed files with 48 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
Function RunTests {
$coverage = "./tests/pytest_coverage.log"
$run_tests = "pytest -v --capture=tee-sys --junitxml=./tests/.coverage.xml"
$run_tests = "pytest --run-slow -v --capture=tee-sys --junitxml=./tests/.coverage.xml"
$match_pattern = "^=|^\s*$|^Running|^Using|^plugins|^collecting|^tests"
if ( Test-Path $coverage ) { Clear-Content $coverage }