diff options
author | richvdh <richvdh@users.noreply.github.com> | 2021-06-11 08:57:53 +0000 |
---|---|---|
committer | richvdh <richvdh@users.noreply.github.com> | 2021-06-11 08:57:53 +0000 |
commit | c9d08384f35b99cc04c5e831bc3ae59a0367121b (patch) | |
tree | 44a17f16db1a8454d8c2f5307d48e776c8713b55 /develop/development | |
parent | deploy: e6245e6d48bcb0a1d426b73d010988e0f2d92b35 (diff) | |
download | synapse-c9d08384f35b99cc04c5e831bc3ae59a0367121b.tar.xz |
deploy: e21c3473324116e4a25346991aca08e3207778e1
Diffstat (limited to 'develop/development')
-rw-r--r-- | develop/development/contributing_guide.html | 5 |
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 |