From 624ccc02d33e8a3f5c7a605455d9caae840ba1da Mon Sep 17 00:00:00 2001 From: kiblik Date: Tue, 4 Jun 2024 21:16:38 +0200 Subject: [PATCH] Shuffle tests --- docker/entrypoint-unit-tests-devDocker.sh | 2 +- docker/entrypoint-unit-tests.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/entrypoint-unit-tests-devDocker.sh b/docker/entrypoint-unit-tests-devDocker.sh index 28529d3960a..4f6cb7f1741 100755 --- a/docker/entrypoint-unit-tests-devDocker.sh +++ b/docker/entrypoint-unit-tests-devDocker.sh @@ -50,7 +50,7 @@ EOF echo "Unit Tests" echo "------------------------------------------------------------" -python3 manage.py test unittests -v 3 --keepdb --no-input +python3 manage.py test unittests -v 3 --keepdb --no-input --shuffle # you can select a single file to "test" unit tests # python3 manage.py test unittests.tools.test_npm_audit_scan_parser.TestNpmAuditParser --keepdb -v 3 diff --git a/docker/entrypoint-unit-tests.sh b/docker/entrypoint-unit-tests.sh index 0e0533f34ab..f6f619330dd 100755 --- a/docker/entrypoint-unit-tests.sh +++ b/docker/entrypoint-unit-tests.sh @@ -76,4 +76,4 @@ python3 manage.py migrate echo "Unit Tests" echo "------------------------------------------------------------" -python3 manage.py test unittests -v 3 --keepdb --no-input +python3 manage.py test unittests -v 3 --keepdb --no-input --shuffle