Skip to content

Commit 21f2d5c

Browse files
committed
WIP Pester automation helper test
1 parent 1d9dfb0 commit 21f2d5c

File tree

6 files changed

+711
-384
lines changed

6 files changed

+711
-384
lines changed

ci/tasks/test-units-stemcell-automation/task.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ inputs:
44
- name: bosh-windows-stemcell-builder-ci
55
- name: stemcell-builder
66

7+
params:
8+
STEMCELL_AUTOMATION_DIR: stemcell-builder/stembuild/stemcell-automation/
9+
710
run:
811
path: powershell
912
args:
@@ -20,9 +23,13 @@ run:
2023
$pesterModule | Save-Module -Path $moduleDir
2124
Import-Module "$moduleDir\Pester\$($pesterModule.Version)\Pester.psm1"
2225
26+
$configuration = New-PesterConfiguration
27+
$configuration.Output.StackTraceVerbosity = "Full"
28+
# -Configuration $configuration
29+
2330
Import-Module ./bosh-windows-stemcell-builder-ci/ci/common-scripts/setup-windows-container.psm1;
24-
Set-TmpDir;
25-
pushd stemcell-builder/stembuild/stemcell-automation;
31+
Set-TmpDir
32+
pushd $env:STEMCELL_AUTOMATION_DIR
2633
$result=Invoke-Pester -PassThru;
2734
popd;
2835

0 commit comments

Comments
 (0)