From 3875dfdc4ed208ffe4046a3fc78041dd39514f43 Mon Sep 17 00:00:00 2001 From: Yunchi Wang <54880216+wyunchi-ms@users.noreply.github.com> Date: Fri, 29 Nov 2019 10:22:21 +0800 Subject: [PATCH] Update azure-powershell-developer-guide.md --- .../development-docs/azure-powershell-developer-guide.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/documentation/development-docs/azure-powershell-developer-guide.md b/documentation/development-docs/azure-powershell-developer-guide.md index d015dc7ce908..5f92111a514e 100644 --- a/documentation/development-docs/azure-powershell-developer-guide.md +++ b/documentation/development-docs/azure-powershell-developer-guide.md @@ -271,6 +271,14 @@ Please see our guide on [Using Azure TestFramework](../testing-docs/using-azure- - Use `Assert-Match s1 s2` to verify that the string `s2` matches the regular expression `s1` - Use `Assert-NotMatch s1 s2` to verify that the string `s2` does not match the regular expression `s1` +#### Use local files in test +CI in DevOps will happens under `Debug` folder. So you need to make sure that these files will be copied to that folder during the CI runs. One way to do this is config the `Module.Test.csproj`. There is a example: +```xml + + + +``` + ### Using Active Directory - Use the `Set-TestEnvironment` cmdlet from `Repo-Tasks.psd1` to setup your connection string