From 5f98db17124d4fae9a8e060a205e860268510684 Mon Sep 17 00:00:00 2001 From: Yanbing Date: Wed, 15 Mar 2017 15:51:24 -0700 Subject: [PATCH] Updated Run OpenSSH Pester Tests (markdown) --- Run-OpenSSH-Pester-Tests.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Run-OpenSSH-Pester-Tests.md b/Run-OpenSSH-Pester-Tests.md index e259fc2..9abb1d4 100644 --- a/Run-OpenSSH-Pester-Tests.md +++ b/Run-OpenSSH-Pester-Tests.md @@ -6,14 +6,14 @@ Start-SSHBuild -Configuration Debug -NativeHostArch x64 –Verbose Install-OpenSSH -OpenSSHDir $env:SystemDrive\OpenSSH -Configuration Debug -NativeHostArch x64 ``` ## Run OpenSSH Pester Tests: -- Deploy Open SSH tests +- Deploy OpenSSH tests ```powershell Install-TestDependencies Deploy-OpenSSHTests -OpenSSHTestDir $env:SystemDrive\OpenSSH -Configuration Debug -NativeHostArch x64 -cd $env:SystemDrive\OpenSSH ``` - Run pester tests : Launch powershell core at "C:\Program Files\PowerShell\6.0.0.12\powershell.exe" and run the below command: ```powershell +cd $env:SystemDrive\OpenSSH Run-OpenSSHPesterTest –testRoot $env:SystemDrive\OpenSSH -outputXml testresult.xml ``` Note: If you want to run a particular test, skip step 3 and just launch it: