Skip to content

Commit

Permalink
appveyor: Add -TestPath param to test.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
r15ch13 committed Dec 16, 2018
1 parent 7a1b5a1 commit f857dce
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/bin/test.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,15 @@
#requires -Modules @{ ModuleName = 'BuildHelpers'; ModuleVersion = '2.0.1' }
#requires -Modules @{ ModuleName = 'Pester'; ModuleVersion = '4.4.0' }
#requires -Modules @{ ModuleName = 'PSScriptAnalyzer'; ModuleVersion = '1.17.1' }
param(
[String] $TestPath = 'test/',
)

$resultsXml = "$PSScriptRoot/TestResults.xml"
$excludes = @()

$splat = @{
Path = 'test/'
Path = $TestPath
OutputFile = $resultsXml
OutputFormat = 'NUnitXML'
PassThru = $true
Expand Down

0 comments on commit f857dce

Please sign in to comment.