mirror of
https://github.com/onyx-and-iris/voicemeeter-api-powershell.git
synced 2025-01-18 21:30:46 +00:00
8a3b8da635
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.
20 lines
258 B
PowerShell
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()
|
|
}
|