docs: how to run all tests

This commit is contained in:
decentral1se 2022-04-10 10:20:57 +02:00
parent de4321dcb2
commit e3cfbaf175
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410
1 changed files with 10 additions and 0 deletions

View File

@ -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