Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
Add documentation around running acceptance tests for specific resources
  • Loading branch information
Brunhil authored Jan 10, 2020
1 parent 7b56c1a commit 52716af
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,11 @@ In order to test the provider, you can simply run `make test`.
$ make test
```

In order to run the full suite of Acceptance tests, run `make testacc`.
The majority of tests in the provider are Acceptance Tests - which provisions real resources in Azure. It's possible to run the entire acceptance test suite by running `make testacc` - however it's likely you'll want to run a subset, which you can do using a prefix, by running:

```
make testacc TESTARGS='-run=TestAccAzureADApplication'
```

The following ENV variables must be set in your shell prior to running acceptance tests:
- ARM_CLIENT_ID
Expand All @@ -97,7 +101,3 @@ The following ENV variables must be set in your shell prior to running acceptanc
- ARM_TEST_LOCATION_ALT

*Note:* Acceptance tests create real resources, and often cost money to run.

```sh
$ make testacc
```

0 comments on commit 52716af

Please sign in to comment.