Merge pull request 60 from dev/95-get-pester-running into develop

This commit is contained in:
Peter Honeder 2015-07-13 18:19:35 +00:00
commit b96f4264e2
6 changed files with 22 additions and 1 deletions

3
.gitmodules vendored
View file

@ -16,3 +16,6 @@
[submodule "src/monad_app_base"]
path = src/monad_app_base
url = https://msostc.visualstudio.com/DefaultCollection/PS/_git/monad_app_base
[submodule "ext-src/pester"]
path = ext-src/pester
url = mshttps://msostc.visualstudio.com/DefaultCollection/PS/_git/Pester

1
ext-src/pester Submodule

@ -0,0 +1 @@
Subproject commit 941efb9fbfb56c0ffa5470b150dc7ca9c2ab350b

View file

@ -150,6 +150,7 @@ internal-prepare-exec_env: runps.sh
cp -r dotnetlibs/*.exe exec_env/app_base
cp -r dotnetlibs/lib* exec_env/app_base
cp -r dotnetlibs/corerun exec_env/app_base
cp -r ../ext-src/pester exec_env/app_base/Modules/Pester
cp runps.sh exec_env/app_base
run: $(POWERSHELL_RUN_TARGETS) dotnetlibs/corerun dotnetlibs/Microsoft.PowerShell.Commands.Management.dll dotnetlibs/Microsoft.PowerShell.Commands.Utility.dll dotnetlibs/Microsoft.PowerShell.Security.dll dotnetlibs/api-ms-win-core-registry-l1-1-0.dll internal-prepare-exec_env

View file

@ -0,0 +1,13 @@
"starting test script" | out-host
$here = Split-Path -Parent $MyInvocation.MyCommand.Path
$here | out-host
$sut = (Split-Path -Leaf $MyInvocation.MyCommand.Path).Replace(".Tests.", ".")
$sut | out-host
. "$here\$sut"
Describe "Get-HelloWorld" {
It "outputs 'Hello world!'" {
Get-HelloWorld | Should Be 'Hello world!'
}
}

View file

@ -0,0 +1,3 @@
function Get-HelloWorld {
'Hello world!'
}

@ -1 +1 @@
Subproject commit 2ba6fb9291bdb9bfea111369a6c236475bd3c686
Subproject commit 09cd9551a2caebecc843b84e01aad7126ed7197a