voicemeeter-api-powershell/test/runall.ps1
onyx-and-iris aa384df506 Update runall.ps1
add dot source base.ps1 for lower tests.
2021-04-30 17:06:55 +01:00

18 lines
271 B
PowerShell

Param([String]$tag, [Int]$num=1)
Import-Module ..\lib\Voicemeeter.psm1
. ..\lib\base.ps1
try
{
$vmr = Get-RemotePotato
1..$num | ForEach-Object {
Write-Host "Running test $_ of $num"
Invoke-Pester -Tag $tag
}
}
finally
{
$vmr.Logout()
}