Skip to content

Commit 83acba1

Browse files
authored
docs: add steps for testing the connector (#582)
1 parent 195553b commit 83acba1

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

CONTRIBUTING.md

+12
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,15 @@ information on using pull requests.
2626

2727
This project follows [Google's Open Source Community
2828
Guidelines](https://opensource.google/conduct/).
29+
30+
## Testing
31+
32+
NOTE: Be sure to run the following commands in the same VPC as the AlloyDB instance
33+
34+
1. Set the environment variables. You can see an example of the environment
35+
variables needed by running `cat .envrc.example`
36+
1. Run `gcloud auth application-default login`
37+
1. Run the unit tests: `mvn test -B -ntp -Pcoverage -Dclirr.skip=true
38+
-Denforcer.skip=true`
39+
1. Run the integration tests: `mvn -ntp -Penable-integration-tests
40+
-DtrimStackTrace=false -Dclirr.skip=true -Denforcer.skip=true -fae verify`

0 commit comments

Comments
 (0)