Skip to content

Commit 6d0969d

Browse files
committed
Refactor integration tests to use Testcontainers for TypeScript client and server
1 parent 82d5faf commit 6d0969d

File tree

10 files changed

+287
-367
lines changed

10 files changed

+287
-367
lines changed

gradle/libs.versions.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ logging = "7.0.13"
1818
slf4j = "2.0.17"
1919
kotest = "6.0.3"
2020
awaitility = "4.3.0"
21+
testcontainers = "1.21.3"
2122

2223
# Samples
2324
mcp-kotlin = "0.7.2"
@@ -54,6 +55,7 @@ kotlinx-coroutines-test = { group = "org.jetbrains.kotlinx", name = "kotlinx-cor
5455
ktor-client-mock = { group = "io.ktor", name = "ktor-client-mock", version.ref = "ktor" }
5556
ktor-server-test-host = { group = "io.ktor", name = "ktor-server-test-host", version.ref = "ktor" }
5657
slf4j-simple = { group = "org.slf4j", name = "slf4j-simple", version.ref = "slf4j" }
58+
testcontainers = { group = "org.testcontainers", name = "testcontainers", version.ref = "testcontainers" }
5759

5860
# Samples
5961
ktor-client-cio = { group = "io.ktor", name = "ktor-client-cio", version.ref = "ktor" }

kotlin-sdk-test/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ kotlin {
2525
dependencies {
2626
implementation(kotlin("test-junit5"))
2727
implementation(libs.awaitility)
28+
implementation(libs.testcontainers)
2829
runtimeOnly(libs.slf4j.simple)
2930
}
3031
}

0 commit comments

Comments
 (0)