Increase code coverage #22

Merged
OCram85 merged 34 commits from dev into master 2018-03-21 12:16:09 +01:00
Showing only changes of commit 793035fa47 - Show all commits

View File

@ -25,6 +25,7 @@ Describe "Test-ChallengeFile" {
It "No parameter and existing file should return true" { It "No parameter and existing file should return true" {
Test-ChallengeFile | Should -Be $true Test-ChallengeFile | Should -Be $true
} }
}
Context "Execute with parameter" { Context "Execute with parameter" {
$TestChFile = "{0}\resources\Challenge.bin" -f $RepoRoot $TestChFile = "{0}\resources\Challenge.bin" -f $RepoRoot
It "Provide valid path" { It "Provide valid path" {
@ -34,6 +35,4 @@ Describe "Test-ChallengeFile" {
Test-ChallengeFile -Path "C:\notexisting.bin" | Should -Be $false Test-ChallengeFile -Path "C:\notexisting.bin" | Should -Be $false
} }
} }
}
} }