mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2026-01-06 18:17:26 +08:00
Implement Pester tests
This commit is contained in:
8
images/win/scripts/Tests/Databases.Tests.ps1
Normal file
8
images/win/scripts/Tests/Databases.Tests.ps1
Normal file
@@ -0,0 +1,8 @@
|
||||
Describe "MongoDB" {
|
||||
It "<ToolName>" -TestCases @(
|
||||
@{ ToolName = "mongo" }
|
||||
@{ ToolName = "mongod" }
|
||||
) {
|
||||
"$ToolName --version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user