mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 19:26:39 +02:00
vstest.console
This commit is contained in:
18
.pipelines/scripts/runUiTests.ps1
Normal file
18
.pipelines/scripts/runUiTests.ps1
Normal file
@@ -0,0 +1,18 @@
|
||||
[CmdLetBinding()]
|
||||
Param(
|
||||
[Parameter(Mandatory=$true, Position=0)]
|
||||
[string]$SearchFolder,
|
||||
[Parameter(Mandatory=$true, Position=1)]
|
||||
[string]$VsConsolePath,
|
||||
[Parameter(Mandatory=$true, Position=2)]
|
||||
[string]$MatchPattern,
|
||||
[Parameter(Mandatory=$true, Position=3)]
|
||||
[string]$LogPath,
|
||||
[Parameter(Mandatory=$true, Position=4)]
|
||||
[string]$ResultPath
|
||||
)
|
||||
|
||||
Write-Output "Starting UI tests"
|
||||
|
||||
$Cmd = "$VsConsolePath\vstest.console.exe $SearchFolder /Logger:trx;LogFileName=$LogPath /ResultsDirectory:$ResultPath"
|
||||
Invoke-Expression -Command $Cmd
|
||||
Reference in New Issue
Block a user