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

@ -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 they are always contained in a file ending with `_test.go`—a compiler-enforced naming
convention for Golang tests. 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 ## Structure
Most routes are focused on administrating the room server. Tasks such as adding new users, 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 editing notices (like the _Welcome_ or _Code of Conduct_ pages). These are routes that require