test: Refactor test utilities, fix conformance (#476)
# Refactor test utilities, fix conformance - Add `test-utils` module to streamline test cases - Rename module `kotlin-sdk-test` -> `integration-test` - Move test utilities for managing processes, ports, and TypeScript execution logic - Make conformance tests work by specifying conformance package version (0.1.8) ## Motivation and Context Reuse test infrastructure code, resurrect conformance tests ## How Has This Been Tested? CI, locally ## Breaking Changes No ## Types of changes - [x] Bug fix (non-breaking change which fixes an issue) - [x] Tests update ## Checklist <!-- Go over all the following points, and put an `x` in all the boxes that apply. --> - [x] I have read the [MCP Documentation](https://modelcontextprotocol.io) - [x] My code follows the repository's style guidelines - [x] New and existing tests pass locally - [ ] I have added appropriate error handling - [ ] I have added or updated documentation as needed
This commit is contained in:
parent
6fee82ff1a
commit
29d34b8e48
1 changed files with 243 additions and 39 deletions
22
test-utils/build.gradle.kts
Normal file
22
test-utils/build.gradle.kts
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
plugins {
|
||||
kotlin("jvm")
|
||||
}
|
||||
|
||||
kotlin {
|
||||
explicitApi()
|
||||
|
||||
dependencies {
|
||||
api(kotlin("test"))
|
||||
api(libs.kotest.assertions.core)
|
||||
api(libs.kotest.assertions.json)
|
||||
api(libs.kotlinx.coroutines.test)
|
||||
api(libs.mockk)
|
||||
api(libs.awaitility)
|
||||
api(libs.junit.jupiter.params)
|
||||
runtimeOnly(libs.slf4j.simple)
|
||||
}
|
||||
|
||||
tasks.withType<Test> {
|
||||
useJUnitPlatform()
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue