mirror of
https://github.com/PowerShell/Win32-OpenSSH.git
synced 2025-09-23 10:08:54 +02:00
Updated Run OpenSSH Pester Tests (markdown)
parent
8ef49af6a4
commit
5f98db1712
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user