Skip to content

Commit

Permalink
I just want that fuzzy feeling that all the tests have been run as if…
Browse files Browse the repository at this point in the history
… v4 and v5 both fail this will show success
  • Loading branch information
SQLDBAWithABeard committed Apr 27, 2022
1 parent b910e32 commit 363d990
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Validate v4 adn v5.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,12 @@ and
For v5 we ran
{1} tests
The MOST COMMON REASON IS you have used Tags instead of Tag in your Describe block
" -f $v4code.TotalCount, $v5code.TotalCount
" -f $v4code.TotalCount, ($v5code.TotalCount - $v5code.NotRunCount)
Write-PSFMessage -Message $Message -Level Warning
}
else {
$message = "
The Total Tests Run are the same"
The Total Tests Run are the same {0} {1} " -f $v4code.TotalCount, ($v5code.TotalCount - $v5code.NotRunCount)
Write-PSFMessage -Message $Message -Level Output
}

Expand All @@ -89,7 +89,7 @@ For v5 we ran
}
else {
$message = "
The Total Tests Passed are the same"
The Total Tests Passed are the same {0} {1} " -f $v4code.PassedCount, $v5code.PassedCount
Write-PSFMessage -Message $Message -Level Output
}

Expand All @@ -107,7 +107,7 @@ For v5 we ran
}
else {
$message = "
The Total Tests Failed are the same"
The Total Tests Failed are the same {0} {1} " -f $v4code.FailedCount, $v5code.FailedCount
Write-PSFMessage -Message $Message -Level Output
}

Expand All @@ -124,7 +124,7 @@ For v5 we ran
}
else {
$message = "
The Total Tests Skipped are the same"
The Total Tests Skipped are the same {0} {1} "-f $v4code.SkippedCount, $v5code.SkippedCount
Write-PSFMessage -Message $Message -Level Output
}

Expand Down

0 comments on commit 363d990

Please sign in to comment.