Skip to content
This repository was archived by the owner on Apr 6, 2023. It is now read-only.

Commit 302e4bf

Browse files
author
Frank Natividad
committed
Add testing instruction to NL and Speech
1 parent cc7c597 commit 302e4bf

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

nl/Language/README.md

+16
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,19 @@ Again, ***you should not do this in your production app.***
3333

3434
See the [Cloud Platform Auth Guide](https://cloud.google.com/docs/authentication#developer_workflow)
3535
for more information.
36+
37+
### Test
38+
39+
Before running tests update the following environment variable with the service
40+
account:
41+
42+
GOOGLE_APPLICATION=service-account.json
43+
44+
This environment variable will be used to update the service account used here
45+
`app/src/main/res/raw/credential.json`.
46+
47+
Run tests by using:
48+
49+
gradle test
50+
51+

speech/Speech/README.md

+14
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,20 @@ Again, ***you should not do this in your production app.***
3434
See the [Cloud Platform Auth Guide](https://cloud.google.com/docs/authentication#developer_workflow)
3535
for more information.
3636

37+
### Test
38+
39+
Before running tests update the following environment variable with the service
40+
account:
41+
42+
GOOGLE_APPLICATION=service-account.json
43+
44+
This environment variable will be used to update the service account used here
45+
`app/src/main/res/raw/credential.json`.
46+
47+
Run tests by using:
48+
49+
gradle test
50+
3751
### Build signed release
3852

3953
*This step is optional.*

0 commit comments

Comments
 (0)