Skip to content

Commit f253c94

Browse files
committed
doc: Add note for running tests
1 parent 2a2c02f commit f253c94

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Diff for: README.md

+8
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,14 @@ You can now run the server you built!
9292

9393
Development is test-focused. Any code you contribute should have tests to go with it. Tests should be placed in another file in the same directory with the naming convention `my_file_name_test.go`.
9494

95+
**Note:** Before tests can be run, you must configure the `TLACFG` environment variable
96+
to store the contents of `credentials.json`, like below. This might be changed in the future
97+
([see here](https://github.com/uclaacm/teach-la-go-backend/pull/10#issuecomment-1596011496)).
98+
99+
```sh
100+
export TLACFG="$(cat credentials.json)"
101+
```
102+
95103
Run tests with the following commands:
96104

97105
```sh

0 commit comments

Comments
 (0)