voicemeeter-api-powershell/test/runall.ps1
Onyx and Iris 8a3b8da635 auto login added, tests updated to take $true, $false
Added $this.Login() into Remote constructor to automatically log user in.

Updated test codes accordingly.

Boolean params take $true and $false

Updated readme to reflect changes.
2021-04-29 00:48:16 +01:00

20 lines
258 B
PowerShell

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