2024-01-29 12:24:49 +01:00
|
|
|
[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"
|
2024-01-31 17:00:31 +01:00
|
|
|
Invoke-Expression "ls -R $VsConsolePath"
|
2024-01-29 12:24:49 +01:00
|
|
|
|
2024-01-30 12:31:31 +01:00
|
|
|
$Command = "$VsConsolePath\vstest.console.exe $SearchFolder /ResultsDirectory:$ResultPath"
|
|
|
|
|
Invoke-Expression $Command
|