Skip to content

Commit dff9982

Browse files
committed
Update CONTRIBUTING.md (#2407)
New documentation to address #2403.
1 parent b74a6de commit dff9982

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/CONTRIBUTING.md

+4
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,17 @@ GOOGLE_ORG
4343
GOOGLE_BILLING_ACCOUNT
4444
```
4545

46+
The only region we support running tests in right now is `us-central1` - some products that are tested here are only available in a few regions, and the only region that all products are available in is `us-central1`.
47+
4648
To run a specific test, use a command such as:
4749
```
4850
make testacc TEST=./google TESTARGS='-run=TestAccContainerNodePool_basic'
4951
```
5052

5153
The `TESTARGS` variable is regexp-like, so multiple tests can be run in parallel by specifying a common substring of those tests (for example, `TestAccContainerNodePool` to run all node pool tests).
5254

55+
To run all tests, you can simply omit the `TESTARGS` argument - but please keep in mind that that is quite a few tests and will take quite a long time and create some fairly expensive resources. It usually is not advisable to run all tests.
56+
5357
### Writing Tests
5458

5559
Tests should confirm that a resource can be created, and that the resulting Terraform state has the correct values, as well as the created GCP resource.

0 commit comments

Comments
 (0)