azure-sdk-for-cpp/eng/common/TestResources
2020-04-08 11:41:13 -07:00
..
deploy-test-resources.yml Sync eng/common directory with azure-sdk-tools repository (#66) 2020-04-08 11:41:13 -07:00
New-TestResources.cmd Sync eng/common directory with azure-sdk-tools repository (#46) 2020-03-26 10:18:42 -07:00
New-TestResources.ps1 Sync eng/common directory with azure-sdk-tools repository (#66) 2020-04-08 11:41:13 -07:00
New-TestResources.ps1.md Sync eng/common directory with azure-sdk-tools repository (#46) 2020-03-26 10:18:42 -07:00
README.md Sync eng/common directory with azure-sdk-tools repository (#46) 2020-03-26 10:18:42 -07:00
remove-test-resources.yml Sync eng/common directory with azure-sdk-tools repository (#66) 2020-04-08 11:41:13 -07:00
Remove-TestResources.cmd Sync eng/common directory with azure-sdk-tools repository (#46) 2020-03-26 10:18:42 -07:00
Remove-TestResources.ps1 Sync eng/common directory with azure-sdk-tools repository (#66) 2020-04-08 11:41:13 -07:00
Remove-TestResources.ps1.md Sync eng/common directory with azure-sdk-tools repository (#46) 2020-03-26 10:18:42 -07:00

Live Test Resource Management

Live test runs require pre-existing resources in Azure. This set of PowerShell commands automates creation and teardown of live test resources for Desktop and CI scenarios.

On the Desktop

Run New-TestResources.ps1 on your desktop to create live test resources for a given service (e.g. Storage, Key Vault, etc.). The command will output environment variables that need to be set when running the live tests.

See examples for how to create the needed Service Principals and execute live tests.

In CI

The New-TestResources.ps1 script is invoked on each test job to create an isolated environment for live tests. Test resource isolation makes it easier to parallelize test runs.

Other

PowerShell markdown documentation created with PlatyPS