From 52716af72537cecaa78dae555621fc217adcfda3 Mon Sep 17 00:00:00 2001 From: Jack Date: Fri, 10 Jan 2020 08:28:37 -0600 Subject: [PATCH] Update readme Add documentation around running acceptance tests for specific resources --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index a7736fa3f7..4369b1fca6 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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 -```