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.
26 lines
864 B
Kotlin
26 lines
864 B
Kotlin
package org.domaindrivenarchitecture.provs.framework.extensions.workplace.base
|
|
|
|
import org.domaindrivenarchitecture.provs.framework.ubuntu.install.base.aptInstall
|
|
import org.junit.jupiter.api.Assertions.assertTrue
|
|
import org.junit.jupiter.api.Disabled
|
|
import org.junit.jupiter.api.Test
|
|
import org.domaindrivenarchitecture.provs.test.defaultTestContainer
|
|
import org.domaindrivenarchitecture.provs.desktop.infrastructure.installVSC
|
|
|
|
|
|
internal class VSCodeKtTest {
|
|
|
|
@Test
|
|
@Disabled("Test currently not working, needs fix. VSC is installed by snapd which is not currently supported to run inside docker")
|
|
fun installVSC() {
|
|
// given
|
|
val a = defaultTestContainer()
|
|
a.aptInstall("xvfb libgbm-dev libasound2")
|
|
|
|
// when
|
|
val res = a.installVSC("python", "clojure")
|
|
|
|
// then
|
|
assertTrue(res.success)
|
|
}
|
|
} |