summary refs log tree commit diff
path: root/develop/development
diff options
context:
space:
mode:
authorrichvdh <richvdh@users.noreply.github.com>2021-06-11 08:57:53 +0000
committerrichvdh <richvdh@users.noreply.github.com>2021-06-11 08:57:53 +0000
commitc9d08384f35b99cc04c5e831bc3ae59a0367121b (patch)
tree44a17f16db1a8454d8c2f5307d48e776c8713b55 /develop/development
parentdeploy: e6245e6d48bcb0a1d426b73d010988e0f2d92b35 (diff)
downloadsynapse-c9d08384f35b99cc04c5e831bc3ae59a0367121b.tar.xz
deploy: e21c3473324116e4a25346991aca08e3207778e1
Diffstat (limited to 'develop/development')
-rw-r--r--develop/development/contributing_guide.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/develop/development/contributing_guide.html b/develop/development/contributing_guide.html
index 9371aa605b..13d3bf1438 100644
--- a/develop/development/contributing_guide.html
+++ b/develop/development/contributing_guide.html
@@ -318,9 +318,12 @@ another module instead of <code>tests</code> - or a test class or a method:</p>
 <pre><code class="language-sh">source ./env/bin/activate
 trial tests.rest.admin.test_room tests.handlers.test_admin.ExfiltrateData.test_invite
 </code></pre>
-<p>If your tests fail, you may wish to look at the logs:</p>
+<p>If your tests fail, you may wish to look at the logs (the default log level is <code>ERROR</code>):</p>
 <pre><code class="language-sh">less _trial_temp/test.log
 </code></pre>
+<p>To increase the log level for the tests, set <code>SYNAPSE_TEST_LOG_LEVEL</code>:</p>
+<pre><code class="language-sh">SYNAPSE_TEST_LOG_LEVEL=DEBUG trial tests
+</code></pre>
 <h2 id="run-the-integration-tests"><a class="header" href="#run-the-integration-tests">Run the integration tests.</a></h2>
 <p>The integration tests are a more comprehensive suite of tests. They
 run a full version of Synapse, including your changes, to check if