Skip to content

Commit 7322722

Browse files
committed
AppVeyor Testing Updates
1 parent fcac900 commit 7322722

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

Tests/Citrix.Optimizer.Template.Function.tests.OLD.ps1 renamed to Tests/Citrix.Optimizer.Template.Function.tests.ps1

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,10 @@
11
BeforeAll {
22

3-
# AppVeyor Testing
4-
$projectRoot = "C:\projects\citrixoptimizer"
5-
6-
# Local Testing
7-
# $projectRoot = "./"
8-
93
}
104

115
Describe "Function validation" {
126

13-
$scripts = Get-ChildItem "$projectRoot\PSGallery" -Recurse -Include *.ps1
7+
$scripts = Get-ChildItem "C:\projects\citrixoptimizerautomation\CitrixOptimizerAutomation" -Recurse -Include *.ps1
148
$testCase = $scripts | Foreach-Object {@{file = $_}}
159
It "Script <file> should only contain one function" -TestCases $testCase {
1610
param($file)

0 commit comments

Comments
 (0)