voicemeeter-api-powershell/test/runall.ps1

22 lines
278 B
PowerShell
Raw Normal View History

Param(
[String]$tag, [Int]$num=1
)
try
{
. ..\lib\voicemeeter.ps1
$vmr = [Remote]::new('banana')
$vmr.Login()
1..$num | ForEach-Object {
Write-Host "Running test $_ of $num"
Invoke-Pester -Tag $tag
}
}
finally
{
$vmr.Logout()
}