From e0ec00851754cd1096886e7c2c67e4aa6779fb2d Mon Sep 17 00:00:00 2001
From: babolivier
Date: Wed, 28 Sep 2022 11:15:21 +0000
Subject: deploy: 5c429b86b4cf1d2ccf81339844599c85653521df
---
develop/development/contributing_guide.html | 3 +++
1 file changed, 3 insertions(+)
(limited to 'develop/development/contributing_guide.html')
diff --git a/develop/development/contributing_guide.html b/develop/development/contributing_guide.html
index 84356e5152..8a4fb5b6e9 100644
--- a/develop/development/contributing_guide.html
+++ b/develop/development/contributing_guide.html
@@ -255,6 +255,9 @@ Make sure that you have saved all your files.
was broken. They are slower than the linters but will typically catch more errors.
poetry run trial tests
+You can run unit tests in parallel by specifying -jX
argument to trial
where X
is the number of parallel runners you want. To use 4 cpu cores, you would run them like:
+poetry run trial -j4 tests
+
If you wish to only run some unit tests, you may specify
another module instead of tests
- or a test class or a method:
poetry run trial tests.rest.admin.test_room tests.handlers.test_admin.ExfiltrateData.test_invite
--
cgit 1.5.1