[macOS] Pester tests invocation after install. (#2421)

* [macOS] Fail Pester tests on error

* return it back

* [macOS] Pester tests invokation after install

* fix nitpicks

* CocoaPods fix
This commit is contained in:
Darii Nurgaleev
2021-01-14 00:46:44 +07:00
committed by GitHub
parent e508e876f7
commit 0a255311b1
13 changed files with 111 additions and 77 deletions

View File

@@ -0,0 +1,15 @@
Describe "PHP" {
Context "PHP" {
It "PHP Path" {
Get-WhichTool "php" | Should -Not -BeLike "/usr/bin/php*"
}
It "PHP version" {
"php --version" | Should -ReturnZeroExitCode
}
}
Context "Composer" {
It "Composer" {
"composer --version" | Should -ReturnZeroExitCode
}
}
}