Prepare next release 0.2.1.X #18

Merged
OCram85 merged 32 commits from dev into master 2018-03-09 14:02:51 +01:00
4 changed files with 4 additions and 3 deletions
Showing only changes of commit afcfae5130 - Show all commits

View File

@ -9,7 +9,7 @@ Describe "Pre-Flight module tests" {
} }
Context "Module consistency tests" { Context "Module consistency tests" {
IT "Importing should work" { IT "Importing should work" {
{ Import-Module -Name $ManifestFilePath -Global } | Should -Not -Throw { Import-Module -Name $ManifestFilePath -Global -Force }| Should -Not -Throw
} }
} }
} }

View File

@ -16,6 +16,7 @@ Else {
# load additional functions defined in the repository. Replace the expression <FunctionName>. # load additional functions defined in the repository. Replace the expression <FunctionName>.
. (Get-ChildItem -Path $RepoRoot -Filter "Get-ModuleBase.ps1" -Recurse).FullName . (Get-ChildItem -Path $RepoRoot -Filter "Get-ModuleBase.ps1" -Recurse).FullName
. (Get-ChildItem -Path $RepoRoot -Filter "Test-Module.ps1" -Recurse).FullName . (Get-ChildItem -Path $RepoRoot -Filter "Test-Module.ps1" -Recurse).FullName
#endregion HEADER #endregion HEADER
Describe "Resolve-Dependency" { Describe "Resolve-Dependency" {

View File

@ -14,7 +14,7 @@ Else {
} }
# load additional functions defined in the repository. Replace the expression <FunctionName>. # load additional functions defined in the repository. Replace the expression <FunctionName>.
. (Get-ChildItem -Path $RepoRoot -Filter "Test-CredentialStore.ps1" -Recurse).FullName #. (Get-ChildItem -Path $RepoRoot -Filter "Test-CredentialStore.ps1" -Recurse).FullName
#endregion HEADER #endregion HEADER

View File

@ -95,7 +95,7 @@ Function Invoke-AppVeyorTests() {
Details = 'Now running all test found in .\tests\ dir.' Details = 'Now running all test found in .\tests\ dir.'
} }
Add-AppveyorMessage @MsgParams Add-AppveyorMessage @MsgParams
$testresults = Invoke-Pester -Path ".\tests\*" -ExcludeTag 'Disabled' -PassThru $testresults = Invoke-Pester -Path ( Get-ChildItem -Path ".\tests\*.Tests.ps1" -Recurse | Sort-Object -Property Name ) -ExcludeTag 'Disabled' -PassThru
ForEach ($Item in $testresults.TestResult) { ForEach ($Item in $testresults.TestResult) {
Switch ($Item.Result) { Switch ($Item.Result) {
"Passed" { "Passed" {