diff options
author | reivilibre <reivilibre@users.noreply.github.com> | 2022-06-16 09:31:48 +0000 |
---|---|---|
committer | reivilibre <reivilibre@users.noreply.github.com> | 2022-06-16 09:31:48 +0000 |
commit | 3aa847352a16f22bec6bba5b8a04500460e2456e (patch) | |
tree | 08a27461a046d6826ca8376681ea1f7fdd03b565 /develop/print.html | |
parent | deploy: cba1c5cbc293b2601d81b0cb9b1a28ec6f1e26a1 (diff) | |
download | synapse-3aa847352a16f22bec6bba5b8a04500460e2456e.tar.xz |
deploy: ffe2464836dec7bbce2659b2b4e62eb956bf2a90
Diffstat (limited to 'develop/print.html')
-rw-r--r-- | develop/print.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/develop/print.html b/develop/print.html index 2ab80d23c2..0e5d316303 100644 --- a/develop/print.html +++ b/develop/print.html @@ -14023,6 +14023,13 @@ Here is how to run your local Synapse checkout against your local Complement che <li>Passing <code>POSTGRES=1</code> as an environment variable to use the Postgres database instead.</li> <li>Passing <code>WORKERS=1</code> as an environment variable to use a workerised setup instead. This option implies the use of Postgres.</li> </ul> +<h3 id="prettier-formatting-with-gotestfmt"><a class="header" href="#prettier-formatting-with-gotestfmt">Prettier formatting with <code>gotestfmt</code></a></h3> +<p>If you want to format the output of the tests the same way as it looks in CI, +install <a href="https://github.com/haveyoudebuggedit/gotestfmt">gotestfmt</a>.</p> +<p>You can then use this incantation to format the tests appropriately:</p> +<pre><code class="language-sh">COMPLEMENT_DIR=../complement ./scripts-dev/complement.sh -json | gotestfmt -hide successful-tests +</code></pre> +<p>(Remove <code>-hide successful-tests</code> if you don't want to hide successful tests.)</p> <h3 id="access-database-for-homeserver-after-complement-test-runs"><a class="header" href="#access-database-for-homeserver-after-complement-test-runs">Access database for homeserver after Complement test runs.</a></h3> <p>If you're curious what the database looks like after you run some tests, here are some steps to get you going in Synapse:</p> <ol> |