mirror of
https://github.com/kestra-io/kestra.git
synced 2025-12-19 18:05:41 -05:00
feat(core): move test utils to a proper package
This commit is contained in:
@@ -48,6 +48,7 @@ dependencies {
|
||||
|
||||
// test
|
||||
testAnnotationProcessor project(':processor')
|
||||
testImplementation project(':tests')
|
||||
|
||||
testImplementation project(':repository-memory')
|
||||
testImplementation project(':runner-memory')
|
||||
|
||||
@@ -12,4 +12,5 @@ dependencies {
|
||||
testImplementation project(':core').sourceSets.test.output
|
||||
testImplementation project(':jdbc').sourceSets.test.output
|
||||
testImplementation project(':storage-local')
|
||||
testImplementation project(':tests')
|
||||
}
|
||||
|
||||
@@ -15,4 +15,5 @@ dependencies {
|
||||
testImplementation project(':core').sourceSets.test.output
|
||||
testImplementation project(':jdbc').sourceSets.test.output
|
||||
testImplementation project(':storage-local')
|
||||
testImplementation project(':tests')
|
||||
}
|
||||
|
||||
@@ -15,4 +15,5 @@ dependencies {
|
||||
testImplementation project(':core').sourceSets.test.output
|
||||
testImplementation project(':jdbc').sourceSets.test.output
|
||||
testImplementation project(':storage-local')
|
||||
testImplementation project(':tests')
|
||||
}
|
||||
|
||||
@@ -10,5 +10,6 @@ dependencies {
|
||||
implementation("io.micronaut.sql:micronaut-jooq")
|
||||
implementation("io.micronaut.flyway:micronaut-flyway")
|
||||
|
||||
testImplementation project(':tests')
|
||||
testImplementation project(':core').sourceSets.test.output
|
||||
}
|
||||
|
||||
@@ -4,9 +4,9 @@ configurations {
|
||||
|
||||
dependencies {
|
||||
testImplementation project(":core")
|
||||
testImplementation project(':core').sourceSets.test.output
|
||||
implementation("io.micronaut.flyway:micronaut-flyway")
|
||||
implementation("io.micronaut.sql:micronaut-jdbc-hikari")
|
||||
api project(":jdbc")
|
||||
implementation project(":jdbc-h2")
|
||||
testImplementation project(":tests")
|
||||
}
|
||||
|
||||
@@ -4,6 +4,8 @@ configurations {
|
||||
|
||||
dependencies {
|
||||
testImplementation project(":core")
|
||||
testImplementation project(':core').sourceSets.test.output
|
||||
api project(":repository-memory")
|
||||
|
||||
|
||||
testImplementation project(':tests')
|
||||
}
|
||||
|
||||
@@ -12,6 +12,7 @@ dependencies {
|
||||
implementation 'com.github.docker-java:docker-java-transport-httpclient5:3.3.6'
|
||||
|
||||
testImplementation project(':core').sourceSets.test.output
|
||||
testImplementation project(':tests')
|
||||
testImplementation project(':storage-local')
|
||||
testImplementation project(':repository-memory')
|
||||
testImplementation project(':runner-memory')
|
||||
|
||||
@@ -4,6 +4,7 @@ include 'platform'
|
||||
|
||||
include 'cli'
|
||||
include 'core'
|
||||
include 'tests'
|
||||
|
||||
include 'runner-memory'
|
||||
|
||||
|
||||
@@ -7,5 +7,5 @@ dependencies {
|
||||
implementation project(":core")
|
||||
|
||||
testAnnotationProcessor project(":processor")
|
||||
testImplementation project(':core').sourceSets.test.output
|
||||
testImplementation project(':tests')
|
||||
}
|
||||
|
||||
12
tests/build.gradle
Normal file
12
tests/build.gradle
Normal file
@@ -0,0 +1,12 @@
|
||||
dependencies {
|
||||
implementation project(':core')
|
||||
implementation "io.micronaut:micronaut-runtime"
|
||||
implementation "io.micronaut.test:micronaut-test-junit5"
|
||||
|
||||
implementation "org.junit.jupiter:junit-jupiter-engine"
|
||||
implementation "org.junit.jupiter:junit-jupiter-engine"
|
||||
|
||||
api 'org.hamcrest:hamcrest:2.2'
|
||||
api 'org.hamcrest:hamcrest-library:2.2'
|
||||
api 'org.mockito:mockito-junit-jupiter'
|
||||
}
|
||||
@@ -30,6 +30,7 @@ dependencies {
|
||||
testImplementation project(':storage-local')
|
||||
testImplementation("com.github.tomakehurst:wiremock-jre8")
|
||||
|
||||
testImplementation project(':tests')
|
||||
testImplementation project(':jdbc')
|
||||
testImplementation project(':jdbc').sourceSets.test.output
|
||||
testImplementation project(':jdbc-h2')
|
||||
|
||||
Reference in New Issue
Block a user