mirror of
https://github.com/PowerShell/Win32-OpenSSH.git
synced 2025-09-23 18:18:43 +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
|
Install-OpenSSH -OpenSSHDir $env:SystemDrive\OpenSSH -Configuration Debug -NativeHostArch x64
|
||||||
```
|
```
|
||||||
## Run OpenSSH Pester Tests:
|
## Run OpenSSH Pester Tests:
|
||||||
- Deploy Open SSH tests
|
- Deploy OpenSSH tests
|
||||||
```powershell
|
```powershell
|
||||||
Install-TestDependencies
|
Install-TestDependencies
|
||||||
Deploy-OpenSSHTests -OpenSSHTestDir $env:SystemDrive\OpenSSH -Configuration Debug -NativeHostArch x64
|
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:
|
- Run pester tests : Launch powershell core at "C:\Program Files\PowerShell\6.0.0.12\powershell.exe" and run the below command:
|
||||||
```powershell
|
```powershell
|
||||||
|
cd $env:SystemDrive\OpenSSH
|
||||||
Run-OpenSSHPesterTest –testRoot $env:SystemDrive\OpenSSH -outputXml testresult.xml
|
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:
|
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