You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
637 B
Kotlin
23 lines
637 B
Kotlin
package org.domaindrivenarchitecture.provs.desktop.infrastructure
|
|
|
|
import org.domaindrivenarchitecture.provs.framework.ubuntu.filesystem.base.checkFile
|
|
import org.domaindrivenarchitecture.provs.test.defaultTestContainer
|
|
import org.domaindrivenarchitecture.provs.test.tags.ContainerTest
|
|
|
|
import org.junit.jupiter.api.Assertions.*
|
|
|
|
class KubeconformKtTest {
|
|
|
|
@ContainerTest
|
|
fun installKubeconform() {
|
|
// given
|
|
val prov = defaultTestContainer()
|
|
|
|
// when
|
|
val res = prov.installKubeconform()
|
|
|
|
// then
|
|
assertTrue(res.success)
|
|
assertTrue(prov.checkFile("bin/kubeconform"))
|
|
}
|
|
} |