From e3cfbaf175ff216d87c30e39879b0cdf0eecadcc Mon Sep 17 00:00:00 2001 From: decentral1se Date: Sun, 10 Apr 2022 10:20:57 +0200 Subject: [PATCH] docs: how to run all tests --- docs/testing.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/testing.md b/docs/testing.md index c9dcb1c..43f6fac 100644 --- a/docs/testing.md +++ b/docs/testing.md @@ -10,6 +10,16 @@ working (it does not regress.) These tests are scattered around the repositories they are always contained in a file ending with `_test.go`—a compiler-enforced naming convention for Golang tests. +## Running all tests + +You'll need to have Node.js v14 installed before running this. + +``` +go test ./... +``` + +This command can be run at the root of the repository. + ## Structure Most routes are focused on administrating the room server. Tasks such as adding new users, editing notices (like the _Welcome_ or _Code of Conduct_ pages). These are routes that require