mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 19:57:07 +02:00
18 lines
532 B
PowerShell
18 lines
532 B
PowerShell
[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"
|
|
|
|
$Command = "$VsConsolePath\vstest.console.exe $SearchFolder /ResultsDirectory:$ResultPath"
|
|
Invoke-Expression $Command |