From 3aa847352a16f22bec6bba5b8a04500460e2456e Mon Sep 17 00:00:00 2001 From: reivilibre Date: Thu, 16 Jun 2022 09:31:48 +0000 Subject: deploy: ffe2464836dec7bbce2659b2b4e62eb956bf2a90 --- develop/development/contributing_guide.html | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'develop/development/contributing_guide.html') diff --git a/develop/development/contributing_guide.html b/develop/development/contributing_guide.html index 88f4bb7a5c..c29ff4c4b4 100644 --- a/develop/development/contributing_guide.html +++ b/develop/development/contributing_guide.html @@ -347,6 +347,13 @@ Here is how to run your local Synapse checkout against your local Complement che
  • Passing POSTGRES=1 as an environment variable to use the Postgres database instead.
  • Passing WORKERS=1 as an environment variable to use a workerised setup instead. This option implies the use of Postgres.
  • +

    Prettier formatting with gotestfmt

    +

    If you want to format the output of the tests the same way as it looks in CI, +install gotestfmt.

    +

    You can then use this incantation to format the tests appropriately:

    +
    COMPLEMENT_DIR=../complement ./scripts-dev/complement.sh -json | gotestfmt -hide successful-tests
    +
    +

    (Remove -hide successful-tests if you don't want to hide successful tests.)

    Access database for homeserver after Complement test runs.

    If you're curious what the database looks like after you run some tests, here are some steps to get you going in Synapse:

      -- cgit 1.5.1