зеркало из https://github.com/Azure/benchpress.git
a70d613554
* fixing documentation |
||
---|---|---|
.. | ||
ActionGroup | ||
AksCluster | ||
ApiManagement | ||
AppInsights | ||
AppServicePlan | ||
BicepHelpers | ||
Common | ||
ContainerApp | ||
ContainerRegistry | ||
CosmosDB | ||
Dashboard | ||
DataFactory | ||
EventHub | ||
KeyVault | ||
OperationalInsightsWorkspace | ||
PostgreSql | ||
ResourceGroup | ||
RoleAssignment | ||
SQL | ||
SearchService | ||
Storage | ||
StreamAnalytics | ||
Synapse | ||
VirtualMachine | ||
WebApp | ||
README.md |
README.md
How to Run the Examples
This directory contains examples showing how to use BenchPress functions to test your bicep deployments. Follow the common steps below to setup your local environment. Then navigate to each subfolder for additional steps to execute the examples.
Pre-Requisites
- An Azure subscription to deploy resources to
- A resource group deployed to the Azure subscription
- A service principal with a client secret created that has contributor access on the Azure subscription
Common Steps
- Follow the installation guide to install
BenchPress.Azure
from the PowerShell Gallery or from a local copy. - Follow the Setting Up section in the getting started guide to configure the required environment variables.
Troubleshooting
If the common assertions are failing because of duplicate imports, you might have to run
Remove-Module -Name Pester -Force
first.
Then re-import the project.