We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fcac900 commit 7322722Copy full SHA for 7322722
1 file changed
…ptimizer.Template.Function.tests.OLD.ps1 …ix.Optimizer.Template.Function.tests.ps1Tests/Citrix.Optimizer.Template.Function.tests.OLD.ps1 renamed to Tests/Citrix.Optimizer.Template.Function.tests.ps1
@@ -1,16 +1,10 @@
1
BeforeAll {
2
3
- # AppVeyor Testing
4
- $projectRoot = "C:\projects\citrixoptimizer"
5
-
6
- # Local Testing
7
- # $projectRoot = "./"
8
9
}
10
11
Describe "Function validation" {
12
13
- $scripts = Get-ChildItem "$projectRoot\PSGallery" -Recurse -Include *.ps1
+ $scripts = Get-ChildItem "C:\projects\citrixoptimizerautomation\CitrixOptimizerAutomation" -Recurse -Include *.ps1
14
$testCase = $scripts | Foreach-Object {@{file = $_}}
15
It "Script <file> should only contain one function" -TestCases $testCase {
16
param($file)
0 commit comments