Skip to content
Prev Previous commit
Next Next commit
Finalizing #98 review
  • Loading branch information
andylamax committed Oct 4, 2021
commit 12fe39e2a2590d8e24bf45e6bb46ea2344cf8909
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ package acceptance.utils

import pimonitor.Application
import pimonitor.WebApplication
import testing.containers.ContainerTest.Companion.urlUnderTest
import testing.ContainerTest

open class AcceptanceTest : ContainerTest {
open class AcceptanceTest : ContainerTest() {
companion object {
val application: Application get() = WebApplication(urlUnderTest)
}
Expand Down
2 changes: 1 addition & 1 deletion pi-monitor/pi-monitor-client/sdks/core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ kotlin {

val jvmMain by getting {
dependencies {
implementation(project(":pi-monitor-test-containers"))
implementation(project(":pi-monitor-test-testing"))
}
}
val jsMain by getting {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
package acceptance.utils

import bitframe.service.config.KtorClientConfiguration
import testing.containers.ContainerTest
import testing.ContainerTest
import testing.TestMode

open class IntegrationTest : ContainerTest() {
val config
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package acceptance

import expect.expect
import kotlin.test.Test

class ExhaustionTest {
@Test
fun should_pass() {
expect(1 + 1).toBe(2)
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package integration

import expect.expect
import kotlin.test.Test

class ExhaustionTest {
@Test
fun should_pass() {
expect(1 + 1).toBe(2)
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package unit

import expect.expect
import kotlin.test.Test

class ExhaustionTest {
@Test
fun should_pass() {
expect(1 + 1).toBe(2)
}
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
package unit

import expect.expect
import testing.containers.RootProjectDir
import kotlin.test.Test
Expand Down