Files

40 lines
933 B
PowerShell
Raw Permalink Normal View History

Import-Module "$PSScriptRoot/../helpers/Common.Helpers.psm1"
2023-12-04 12:13:08 +01:00
2021-09-24 13:56:16 +03:00
$os = Get-OSVersion
Describe "RubyGems" {
2023-12-04 12:13:08 +01:00
$gemTestCases = (Get-ToolsetContent).ruby.rubygems | ForEach-Object {
@{gemName = $_}
}
2023-12-04 12:13:08 +01:00
if ($gemTestCases) {
It "Gem <gemName> is installed" -TestCases $gemTestCases {
"gem list -i '^$gemName$'" | Should -MatchCommandOutput "true"
}
}
}
Describe "Bundler" {
It "Bundler" {
"bundler --version" | Should -ReturnZeroExitCode
}
}
Describe "Fastlane" {
It "Fastlane" {
"fastlane --version" | Should -ReturnZeroExitCode
}
}
2024-09-03 18:45:06 +02:00
Describe "xcpretty" -Skip:($os.IsVentura -or $os.IsSonoma -or $os.IsSequoia) {
It "xcpretty" {
"xcpretty --version" | Should -ReturnZeroExitCode
}
2021-10-27 16:48:10 +03:00
}
2024-09-03 18:45:06 +02:00
Describe "jazzy" -Skip:($os.IsVentura -or $os.IsSonoma -or $os.IsSequoia) {
2021-10-27 16:48:10 +03:00
It "jazzy" {
"jazzy --version" | Should -ReturnZeroExitCode
}
}