Skip to content

Commit f857dce

Browse files
committed
appveyor: Add -TestPath param to test.ps1
1 parent 7a1b5a1 commit f857dce

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

test/bin/test.ps1

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,15 @@
22
#requires -Modules @{ ModuleName = 'BuildHelpers'; ModuleVersion = '2.0.1' }
33
#requires -Modules @{ ModuleName = 'Pester'; ModuleVersion = '4.4.0' }
44
#requires -Modules @{ ModuleName = 'PSScriptAnalyzer'; ModuleVersion = '1.17.1' }
5+
param(
6+
[String] $TestPath = 'test/',
7+
)
58

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

912
$splat = @{
10-
Path = 'test/'
13+
Path = $TestPath
1114
OutputFile = $resultsXml
1215
OutputFormat = 'NUnitXML'
1316
PassThru = $true

0 commit comments

Comments
 (0)