Skip to content

Commit

Permalink
feat(apple): add test for xcresult configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
vfadc committed Jun 14, 2024
1 parent 2975d0b commit 60e1bed
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ import com.fasterxml.jackson.module.kotlin.KotlinModule
import com.malinskiy.marathon.config.serialization.yaml.SerializeModule
import com.malinskiy.marathon.config.vendor.apple.TimeoutConfiguration
import com.malinskiy.marathon.config.vendor.apple.TestType
import com.malinskiy.marathon.config.vendor.apple.ios.PullingPolicy
import com.malinskiy.marathon.config.vendor.apple.ios.XcresultConfiguration
import org.amshove.kluent.`should be equal to`
import org.amshove.kluent.shouldContain
import org.amshove.kluent.shouldHaveSize
Expand Down Expand Up @@ -79,6 +81,10 @@ class IosConfigurationFactoryTest {
rsync = RsyncConfiguration(
remotePath = "/usr/local/bin/rsync",
),
xcresult = XcresultConfiguration(
pullingPolicy = PullingPolicy.ON_FAILURE,
remoteClean = false
),
hideRunnerOutput = true,
compactOutput = true,
devicesFile = file.parentFile.resolve("Testdevices").canonicalFile,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ vendorConfiguration:
knownHostsPath: "known_hosts"
keepAliveInterval: PT300S
debug: true
xcresult:
pullingPolicy: ON_FAILURE
remoteClean: false
lifecycle:
onPrepare: []
rsync:
Expand Down

0 comments on commit 60e1bed

Please sign in to comment.