Skip to content

Commit 1924527

Browse files
Changed using azure test framework help docs. (#15797)
* removed set PSMODULEPATH command. * Changed the logic of creating Az role assignment in TestFx-Task.psm1. * changed testing help docs for set test envirmonent variables via commands. * Restore tools/PSRepoStart.cmd. * modified using-azure-test-framework.md. * Update using-azure-test-framework.md Co-authored-by: Dingmeng Xue <[email protected]>
1 parent 1870c90 commit 1924527

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

documentation/testing-docs/using-azure-test-framework.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020
- [Environment Variable Reference](#supported-environment-in-test-framework)
2121

2222
## Getting Started
23+
- Install the latest Az.Resources from the [PSGallery](https://www.powershellgallery.com/) into Windows PowerShell
24+
- Run Windows PowerShell as administrator and execute following command
25+
- `Install-Module -Name Az.Resources -Scope AllUsers -AllowClobber`
2326
- Double click `.\tools\PS-VSPrompt` shortcut
2427
- This starts the VS Developer command prompt in PowerShell inside the `azure-powershell/tools` directory
2528
- Import the `Repo-Tasks` module that helps to perform basic repository tasks

tools/PSRepoStart.cmd

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
@echo off
2+
SET currDir=%~dp0
3+
SET PSModulePath=%PSModulePath%;%currDir%\Modules
24
"%VS140COMNTOOLS%VsDevCmd.bat"

0 commit comments

Comments
 (0)