mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
DOCS: Warn against common integration test mistake (#2653)
This commit is contained in:
@ -14,7 +14,7 @@ For each step, it will run the config once and expect changes. It will run it ag
|
||||
|
||||
1. The integration tests need a test domain to run on. All the records of this domain will be deleted!
|
||||
2. Define all environment variables expected for the provider you wish to run. I setup a local `.env` file with the appropriate values and use [zoo](https://github.com/jsonmaur/zoo) to run my commands.
|
||||
3. run `go test -v -provider $NAME` where $NAME is the name of the provider you wish to run.
|
||||
3. run `cd integrationTest && go test -v -provider $NAME` where $NAME is the name of the provider you wish to run.
|
||||
|
||||
Example:
|
||||
|
||||
@ -35,6 +35,7 @@ export ROUTE53_DOMAIN="testdomain.tld"
|
||||
```
|
||||
|
||||
```shell
|
||||
cd integrationTest # NOTE: Not needed if already in that subdirectory
|
||||
go test -v -verbose -provider ROUTE53
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user