diff --git a/test/README.md b/test/README.md new file mode 100644 index 000000000..8cbe32511 --- /dev/null +++ b/test/README.md @@ -0,0 +1,25 @@ +# Unit Tests for apigeecli + +## Environment Variables + +Set the following environment variables: + +* `APIGEE_ORG` +* `APIGEE_ENV` +* `APIGEECLI_PATH` (path to the apigeecli folder) + +If the org was created with DRZ options, then also set: + +* `APIGEE_REGION` + +For tests involving Apigee API Portal, set: + +* `APIGEE_SITEID` + +For tests involving Apigee API Registry, set: + +* `APIGEE_REGION` + +## Running the tests + +Run `go test internal/client/` or Run `go test internal/client/ -cover` to include code coverage