tests/Invoke-Tests.ps1
$ErrorActionPreference = 'stop' Install-PackageProvider -Name Nuget -Scope CurrentUser -Force -Confirm:$false Install-Module -Name Pester -Scope CurrentUser -Force -Confirm:$false Install-Module -Name PSScriptAnalyzer -Scope CurrentUser -Force -Confirm:$false Import-Module Pester -Verbose Import-Module PSScriptAnalyzer -Verbose #Invoke-Pester -OutputFile 'PesterResults.xml' -OutputFormat 'NUnitXml' -Script '.\Tests\Set-E.tests.ps1' Invoke-Pester -OutputFile 'PSSAResults.xml' -OutputFormat 'NUnitXml' -Script 'AttunixMSPTools\Tests\PSSA.tests.ps1' |