Skip to content

Commit 6328510

Browse files
committed
Add test instructions to contributor doc
1 parent f1e0922 commit 6328510

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

CONTRIBUTING.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,16 @@ information on using pull requests.
2727
This project follows [Google's Open Source Community
2828
Guidelines](https://opensource.google.com/conduct/).
2929

30+
## Running the tests
31+
32+
1. Configure your environment and credentials as described in the
33+
[README](README.md).
34+
2. Determine which GA4 property you want to use for tests, and note its
35+
property ID.
36+
3. Change into the directory of the project you want to test (either
37+
`google-analytics-admin` or `google-analytics-data`).
38+
4. Execute tests using the following command:
39+
40+
```sh
41+
mvn -Danalyticsdata.quickstart.ga4PropertyId=YOUR-GA4-PROPERTY-ID test
42+
```

0 commit comments

Comments
 (0)