Reduce number of test dependencies
Reduce the number of direct test dependencies and instead rely on transitive test support dependencies.
This commit is contained in:
parent
b0f61dccfa
commit
f4a8589336
|
@ -142,7 +142,6 @@ dependencies {
|
|||
testImplementation("io.prometheus:prometheus-metrics-exposition-formats")
|
||||
testImplementation("io.r2dbc:r2dbc-h2")
|
||||
testImplementation("com.squareup.okhttp3:mockwebserver")
|
||||
testImplementation("com.jayway.jsonpath:json-path")
|
||||
testImplementation("io.undertow:undertow-core")
|
||||
testImplementation("io.undertow:undertow-servlet")
|
||||
testImplementation("jakarta.xml.bind:jakarta.xml.bind-api")
|
||||
|
@ -154,22 +153,13 @@ dependencies {
|
|||
}
|
||||
testImplementation("org.apache.logging.log4j:log4j-to-slf4j")
|
||||
testImplementation("org.aspectj:aspectjrt")
|
||||
testImplementation("org.assertj:assertj-core")
|
||||
testImplementation("org.awaitility:awaitility")
|
||||
testImplementation("org.cache2k:cache2k-api")
|
||||
testImplementation("org.eclipse.jetty.ee10:jetty-ee10-webapp")
|
||||
testImplementation("org.eclipse.jetty.http2:jetty-http2-server")
|
||||
testImplementation("org.glassfish.jersey.ext:jersey-spring6")
|
||||
testImplementation("org.glassfish.jersey.media:jersey-media-json-jackson")
|
||||
testImplementation("org.hamcrest:hamcrest")
|
||||
testImplementation("org.hsqldb:hsqldb")
|
||||
testImplementation("org.junit.jupiter:junit-jupiter")
|
||||
testImplementation("org.mockito:mockito-core")
|
||||
testImplementation("org.mockito:mockito-junit-jupiter")
|
||||
testImplementation("org.skyscreamer:jsonassert")
|
||||
testImplementation("org.springframework:spring-core-test")
|
||||
testImplementation("org.springframework:spring-orm")
|
||||
testImplementation("org.springframework:spring-test")
|
||||
testImplementation("org.springframework.data:spring-data-rest-webmvc")
|
||||
testImplementation("org.springframework.integration:spring-integration-jmx")
|
||||
testImplementation("org.springframework.restdocs:spring-restdocs-mockmvc")
|
||||
|
|
|
@ -94,21 +94,12 @@ dependencies {
|
|||
testImplementation(project(":spring-boot-project:spring-boot-autoconfigure"))
|
||||
testImplementation(project(":spring-boot-project:spring-boot-test"))
|
||||
testImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
|
||||
testImplementation("org.assertj:assertj-core")
|
||||
testImplementation("com.jayway.jsonpath:json-path")
|
||||
testImplementation("io.micrometer:micrometer-observation-test")
|
||||
testImplementation("io.projectreactor:reactor-test")
|
||||
testImplementation("io.r2dbc:r2dbc-h2")
|
||||
testImplementation("net.minidev:json-smart")
|
||||
testImplementation("org.apache.logging.log4j:log4j-to-slf4j")
|
||||
testImplementation("org.awaitility:awaitility")
|
||||
testImplementation("org.glassfish.jersey.media:jersey-media-json-jackson")
|
||||
testImplementation("org.hamcrest:hamcrest")
|
||||
testImplementation("org.junit.jupiter:junit-jupiter")
|
||||
testImplementation("org.mockito:mockito-core")
|
||||
testImplementation("org.mockito:mockito-junit-jupiter")
|
||||
testImplementation("org.skyscreamer:jsonassert")
|
||||
testImplementation("org.springframework:spring-test")
|
||||
testImplementation("com.squareup.okhttp3:mockwebserver")
|
||||
|
||||
testRuntimeOnly("ch.qos.logback:logback-classic")
|
||||
|
|
|
@ -235,7 +235,6 @@ dependencies {
|
|||
testImplementation("commons-fileupload:commons-fileupload")
|
||||
testImplementation("com.github.h-thurow:simple-jndi")
|
||||
testImplementation("com.ibm.db2:jcc")
|
||||
testImplementation("com.jayway.jsonpath:json-path")
|
||||
testImplementation("com.mysql:mysql-connector-j")
|
||||
testImplementation("com.squareup.okhttp3:mockwebserver")
|
||||
testImplementation("com.sun.xml.messaging.saaj:saaj-impl")
|
||||
|
@ -246,19 +245,11 @@ dependencies {
|
|||
testImplementation("jakarta.xml.ws:jakarta.xml.ws-api")
|
||||
testImplementation("org.apache.logging.log4j:log4j-to-slf4j")
|
||||
testImplementation("org.apache.tomcat.embed:tomcat-embed-jasper")
|
||||
testImplementation("org.assertj:assertj-core")
|
||||
testImplementation("org.awaitility:awaitility")
|
||||
testImplementation("org.eclipse:yasson")
|
||||
testImplementation("org.hsqldb:hsqldb")
|
||||
testImplementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
|
||||
testImplementation("org.junit.jupiter:junit-jupiter")
|
||||
testImplementation("org.mockito:mockito-core")
|
||||
testImplementation("org.mockito:mockito-junit-jupiter")
|
||||
testImplementation("org.postgresql:postgresql")
|
||||
testImplementation("org.postgresql:r2dbc-postgresql")
|
||||
testImplementation("org.skyscreamer:jsonassert")
|
||||
testImplementation("org.springframework:spring-test")
|
||||
testImplementation("org.springframework:spring-core-test")
|
||||
testImplementation("org.springframework.graphql:spring-graphql-test")
|
||||
testImplementation("org.springframework.kafka:spring-kafka-test") {
|
||||
exclude group: "commons-logging", module: "commons-logging"
|
||||
|
|
|
@ -32,9 +32,6 @@ dependencies {
|
|||
intTestImplementation(project(":spring-boot-project:spring-boot-test"))
|
||||
intTestImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
|
||||
intTestImplementation("org.apache.httpcomponents.client5:httpclient5")
|
||||
intTestImplementation("org.assertj:assertj-core")
|
||||
intTestImplementation("org.awaitility:awaitility")
|
||||
intTestImplementation("org.junit.jupiter:junit-jupiter")
|
||||
intTestImplementation("net.bytebuddy:byte-buddy")
|
||||
|
||||
intTestRuntimeOnly("org.springframework:spring-web")
|
||||
|
@ -62,16 +59,9 @@ dependencies {
|
|||
testImplementation("org.apache.tomcat.embed:tomcat-embed-websocket")
|
||||
testImplementation("org.apache.tomcat.embed:tomcat-embed-core")
|
||||
testImplementation("org.apache.tomcat.embed:tomcat-embed-jasper")
|
||||
testImplementation("org.assertj:assertj-core")
|
||||
testImplementation("org.awaitility:awaitility")
|
||||
testImplementation("org.eclipse.jetty.ee10.websocket:jetty-ee10-websocket-jakarta-client")
|
||||
testImplementation("org.hamcrest:hamcrest-library")
|
||||
testImplementation("org.hsqldb:hsqldb")
|
||||
testImplementation("org.junit.jupiter:junit-jupiter")
|
||||
testImplementation("org.mockito:mockito-core")
|
||||
testImplementation("org.mockito:mockito-junit-jupiter")
|
||||
testImplementation("org.postgresql:postgresql")
|
||||
testImplementation("org.springframework:spring-test")
|
||||
testImplementation("org.springframework:spring-webmvc")
|
||||
testImplementation("org.springframework:spring-websocket")
|
||||
testImplementation("org.springframework.hateoas:spring-hateoas")
|
||||
|
|
|
@ -41,9 +41,4 @@ dependencies {
|
|||
testImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
|
||||
testImplementation(project(":spring-boot-project:spring-boot-test"))
|
||||
testImplementation("ch.qos.logback:logback-classic")
|
||||
testImplementation("org.assertj:assertj-core")
|
||||
testImplementation("org.junit.jupiter:junit-jupiter")
|
||||
testImplementation("org.mockito:mockito-core")
|
||||
testImplementation("org.springframework:spring-core-test")
|
||||
testImplementation("org.springframework:spring-test")
|
||||
}
|
||||
|
|
|
@ -186,8 +186,6 @@ dependencies {
|
|||
|
||||
testImplementation(project(":spring-boot-project:spring-boot-actuator-autoconfigure"))
|
||||
testImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
|
||||
testImplementation("org.assertj:assertj-core")
|
||||
testImplementation("org.junit.jupiter:junit-jupiter")
|
||||
|
||||
testRuntimeOnly(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-web"))
|
||||
testRuntimeOnly("com.h2database:h2")
|
||||
|
|
|
@ -101,19 +101,12 @@ dependencies {
|
|||
testImplementation("org.apache.tomcat.embed:tomcat-embed-el")
|
||||
testImplementation("org.aspectj:aspectjrt")
|
||||
testImplementation("org.aspectj:aspectjweaver")
|
||||
testImplementation("org.assertj:assertj-core")
|
||||
testImplementation("org.awaitility:awaitility")
|
||||
testImplementation("org.eclipse:yasson")
|
||||
testImplementation("org.hibernate.validator:hibernate-validator")
|
||||
testImplementation("org.hsqldb:hsqldb")
|
||||
testImplementation("org.jooq:jooq")
|
||||
testImplementation("org.junit.jupiter:junit-jupiter")
|
||||
testImplementation("org.junit.platform:junit-platform-engine")
|
||||
testImplementation("org.junit.platform:junit-platform-launcher")
|
||||
testImplementation("org.mockito:mockito-core")
|
||||
testImplementation("org.mockito:mockito-junit-jupiter")
|
||||
testImplementation("org.skyscreamer:jsonassert")
|
||||
testImplementation("org.springframework:spring-core-test")
|
||||
testImplementation("org.springframework.hateoas:spring-hateoas")
|
||||
testImplementation("org.springframework.plugin:spring-plugin-core")
|
||||
testImplementation("org.thymeleaf:thymeleaf")
|
||||
|
|
|
@ -48,13 +48,9 @@ dependencies {
|
|||
testImplementation("org.apache.groovy:groovy")
|
||||
testImplementation("org.apache.groovy:groovy-xml")
|
||||
testImplementation("org.eclipse:yasson")
|
||||
testImplementation("org.junit.jupiter:junit-jupiter")
|
||||
testImplementation("org.mockito:mockito-junit-jupiter")
|
||||
testImplementation("org.slf4j:slf4j-api")
|
||||
testImplementation("org.spockframework:spock-core")
|
||||
testImplementation("org.springframework:spring-webmvc")
|
||||
testImplementation("org.springframework:spring-core-test")
|
||||
testImplementation("org.springframework:spring-test")
|
||||
testImplementation("org.testng:testng")
|
||||
|
||||
testRuntimeOnly("org.junit.vintage:junit-vintage-engine")
|
||||
|
|
|
@ -88,11 +88,6 @@ dependencies {
|
|||
|
||||
testImplementation(project(":spring-boot-project:spring-boot-test"))
|
||||
testImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
|
||||
testImplementation("org.assertj:assertj-core")
|
||||
testImplementation("org.junit.jupiter:junit-jupiter")
|
||||
testImplementation("org.mockito:mockito-core")
|
||||
testImplementation("org.mockito:mockito-junit-jupiter")
|
||||
testImplementation("org.springframework:spring-core-test")
|
||||
testImplementation("org.springframework:spring-jdbc")
|
||||
testImplementation("org.springframework:spring-jms")
|
||||
testImplementation("org.springframework:spring-r2dbc")
|
||||
|
|
|
@ -9,8 +9,4 @@ description = "Spring Boot AutoConfigure Annotation Processor"
|
|||
dependencies {
|
||||
testImplementation(enforcedPlatform(project(":spring-boot-project:spring-boot-dependencies")))
|
||||
testImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
|
||||
testImplementation("org.assertj:assertj-core")
|
||||
testImplementation("org.springframework:spring-core")
|
||||
testImplementation("org.springframework:spring-core-test")
|
||||
testImplementation("org.junit.jupiter:junit-jupiter")
|
||||
}
|
||||
|
|
|
@ -20,11 +20,4 @@ dependencies {
|
|||
implementation("org.tomlj:tomlj:1.0.0")
|
||||
|
||||
testImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
|
||||
testImplementation("com.jayway.jsonpath:json-path")
|
||||
testImplementation("org.assertj:assertj-core")
|
||||
testImplementation("org.hamcrest:hamcrest")
|
||||
testImplementation("org.junit.jupiter:junit-jupiter")
|
||||
testImplementation("org.mockito:mockito-core")
|
||||
testImplementation("org.mockito:mockito-junit-jupiter")
|
||||
testImplementation("org.skyscreamer:jsonassert")
|
||||
}
|
||||
|
|
|
@ -30,20 +30,12 @@ dependencies {
|
|||
implementation("org.springframework.security:spring-security-crypto")
|
||||
|
||||
intTestImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
|
||||
intTestImplementation("org.assertj:assertj-core")
|
||||
intTestImplementation("org.junit.jupiter:junit-jupiter")
|
||||
intTestImplementation("org.springframework:spring-core")
|
||||
|
||||
loader(project(":spring-boot-project:spring-boot-tools:spring-boot-loader"))
|
||||
|
||||
testImplementation(project(":spring-boot-project:spring-boot"))
|
||||
testImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
|
||||
testImplementation(project(":spring-boot-project:spring-boot-test"))
|
||||
testImplementation("org.assertj:assertj-core")
|
||||
testImplementation("org.junit.jupiter:junit-jupiter")
|
||||
testImplementation("org.mockito:mockito-core")
|
||||
testImplementation("org.mockito:mockito-junit-jupiter")
|
||||
testImplementation("org.springframework:spring-test")
|
||||
}
|
||||
|
||||
tasks.register("fullJar", Jar) {
|
||||
|
|
|
@ -18,14 +18,8 @@ dependencies {
|
|||
testCompileOnly("com.google.code.findbugs:jsr305:3.0.2")
|
||||
testImplementation(enforcedPlatform(project(":spring-boot-project:spring-boot-dependencies")))
|
||||
testImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
|
||||
testImplementation("org.springframework:spring-core-test")
|
||||
testImplementation("jakarta.validation:jakarta.validation-api")
|
||||
testImplementation("org.assertj:assertj-core")
|
||||
testImplementation("org.hamcrest:hamcrest-library")
|
||||
testImplementation("org.junit.jupiter:junit-jupiter")
|
||||
testImplementation("org.mockito:mockito-core")
|
||||
testImplementation("org.projectlombok:lombok")
|
||||
testImplementation("org.springframework:spring-core")
|
||||
testImplementation("org.apache.commons:commons-dbcp2") {
|
||||
exclude group: "commons-logging", module: "commons-logging"
|
||||
}
|
||||
|
|
|
@ -51,14 +51,11 @@ dependencies {
|
|||
testImplementation("net.java.dev.jna:jna-platform")
|
||||
testImplementation("org.apache.commons:commons-compress")
|
||||
testImplementation("org.apache.httpcomponents.client5:httpclient5")
|
||||
testImplementation("org.assertj:assertj-core")
|
||||
testImplementation("org.graalvm.buildtools:native-gradle-plugin")
|
||||
testImplementation("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
|
||||
testImplementation("org.jetbrains.kotlin:kotlin-compiler-embeddable:$kotlinVersion")
|
||||
testImplementation("org.jetbrains.kotlin:kotlin-compiler-runner:$kotlinVersion")
|
||||
testImplementation("org.jetbrains.kotlin:kotlin-daemon-client:$kotlinVersion")
|
||||
testImplementation("org.junit.jupiter:junit-jupiter")
|
||||
testImplementation("org.mockito:mockito-core")
|
||||
testImplementation("org.tomlj:tomlj:1.0.0")
|
||||
}
|
||||
|
||||
|
|
|
@ -9,12 +9,6 @@ dependencies {
|
|||
compileOnly("org.springframework:spring-core")
|
||||
|
||||
testImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
|
||||
testImplementation("org.assertj:assertj-core")
|
||||
testImplementation("org.awaitility:awaitility")
|
||||
testImplementation("org.junit.jupiter:junit-jupiter")
|
||||
testImplementation("org.mockito:mockito-core")
|
||||
testImplementation("org.springframework:spring-test")
|
||||
testImplementation("org.springframework:spring-core-test")
|
||||
|
||||
testRuntimeOnly("ch.qos.logback:logback-classic")
|
||||
testRuntimeOnly("org.bouncycastle:bcprov-jdk18on:1.78.1")
|
||||
|
|
|
@ -9,12 +9,6 @@ dependencies {
|
|||
compileOnly("org.springframework:spring-core")
|
||||
|
||||
testImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
|
||||
testImplementation("org.assertj:assertj-core")
|
||||
testImplementation("org.awaitility:awaitility")
|
||||
testImplementation("org.junit.jupiter:junit-jupiter")
|
||||
testImplementation("org.mockito:mockito-core")
|
||||
testImplementation("org.springframework:spring-test")
|
||||
testImplementation("org.springframework:spring-core-test")
|
||||
|
||||
testRuntimeOnly("ch.qos.logback:logback-classic")
|
||||
testRuntimeOnly("org.bouncycastle:bcprov-jdk18on:1.78.1")
|
||||
|
|
|
@ -110,9 +110,7 @@ dependencies {
|
|||
testFixturesCompileOnly("org.springframework:spring-web")
|
||||
|
||||
testImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
|
||||
testImplementation("org.springframework:spring-core-test")
|
||||
testImplementation("com.ibm.db2:jcc")
|
||||
testImplementation("com.jayway.jsonpath:json-path")
|
||||
testImplementation("com.microsoft.sqlserver:mssql-jdbc")
|
||||
testImplementation("com.mysql:mysql-connector-j")
|
||||
testImplementation("com.sun.xml.messaging.saaj:saaj-impl")
|
||||
|
@ -123,7 +121,6 @@ dependencies {
|
|||
testImplementation("net.sourceforge.jtds:jtds")
|
||||
testImplementation("org.apache.derby:derby")
|
||||
testImplementation("org.apache.derby:derbytools")
|
||||
testImplementation("org.awaitility:awaitility")
|
||||
testImplementation("org.codehaus.janino:janino")
|
||||
testImplementation("org.eclipse.jetty:jetty-client")
|
||||
testImplementation("org.eclipse.jetty.http2:jetty-http2-client")
|
||||
|
@ -132,14 +129,10 @@ dependencies {
|
|||
exclude group: "javax.resource", module: "connector-api"
|
||||
}
|
||||
testImplementation("org.hsqldb:hsqldb")
|
||||
testImplementation("org.junit.jupiter:junit-jupiter")
|
||||
testImplementation("org.mariadb.jdbc:mariadb-java-client") {
|
||||
exclude group: "org.slf4j", module: "jcl-over-slf4j"
|
||||
}
|
||||
testImplementation("org.mockito:mockito-core")
|
||||
testImplementation("org.mockito:mockito-junit-jupiter")
|
||||
testImplementation("org.springframework:spring-context-support")
|
||||
testImplementation("org.springframework:spring-core-test")
|
||||
testImplementation("org.springframework.data:spring-data-redis")
|
||||
testImplementation("org.springframework.data:spring-data-r2dbc")
|
||||
testImplementation("org.xerial:sqlite-jdbc")
|
||||
|
|
|
@ -25,7 +25,6 @@ dependencies {
|
|||
systemTestImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
|
||||
systemTestImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
|
||||
systemTestImplementation("org.apache.httpcomponents.client5:httpclient5")
|
||||
systemTestImplementation("org.awaitility:awaitility")
|
||||
systemTestImplementation("org.testcontainers:junit-jupiter")
|
||||
systemTestImplementation("org.testcontainers:testcontainers")
|
||||
systemTestImplementation("org.springframework:spring-web")
|
||||
|
|
|
@ -13,7 +13,6 @@ dependencies {
|
|||
intTestImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
|
||||
intTestImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
|
||||
intTestImplementation("org.apache.httpcomponents.client5:httpclient5")
|
||||
intTestImplementation("org.awaitility:awaitility")
|
||||
intTestImplementation("org.springframework:spring-web")
|
||||
|
||||
testRepository(project(path: ":spring-boot-project:spring-boot-dependencies", configuration: "mavenRepository"))
|
||||
|
|
Loading…
Reference in New Issue