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 'PSSAResults.xml' -OutputFormat 'NUnitXml' -Script 'AttunixMSPTools\Tests\PSSA.tests.ps1' Invoke-Pester -OutputFile 'UnitTestResults.xml' -OutputFormat 'NUnitXml' -Script 'AttunixMSPTools\Tests\AttunixMSPTools.tests.ps1' |