Files
spring-graphql/spring-graphql-test/build.gradle
Brian Clozel dd81d72fcb Start moving testing infra as test fixtures
This commit applies the `java-test-fixtures` to the project modules and
starts moving common infrastructure to the testFixtures configuration.

See gh-217
2021-12-10 22:52:14 +01:00

42 lines
1.5 KiB
Groovy

description = "Spring Support for Testing GraphQL Applications"
dependencies {
api project(':spring-graphql')
api 'com.graphql-java:graphql-java'
api 'io.projectreactor:reactor-core'
api 'org.springframework:spring-context'
api 'org.springframework:spring-test'
api 'com.jayway.jsonpath:json-path'
compileOnly 'javax.annotation:javax.annotation-api'
compileOnly 'org.springframework:spring-webflux'
compileOnly 'org.springframework:spring-webmvc'
compileOnly 'org.springframework:spring-websocket'
compileOnly 'javax.servlet:javax.servlet-api'
compileOnly 'org.skyscreamer:jsonassert'
compileOnly 'com.google.code.findbugs:jsr305'
compileOnly 'org.jetbrains.kotlinx:kotlinx-coroutines-core'
testImplementation(testFixtures(project(":spring-graphql")))
testImplementation 'org.junit.jupiter:junit-jupiter'
testImplementation 'org.assertj:assertj-core'
testImplementation 'org.mockito:mockito-core'
testImplementation 'org.skyscreamer:jsonassert'
testImplementation 'org.springframework:spring-webflux'
testImplementation 'org.springframework:spring-test'
testImplementation 'io.projectreactor:reactor-test'
testImplementation 'io.projectreactor.netty:reactor-netty'
testImplementation 'com.squareup.okhttp3:mockwebserver:3.14.9'
testImplementation 'com.fasterxml.jackson.core:jackson-databind'
testRuntimeOnly 'org.apache.logging.log4j:log4j-core'
testRuntimeOnly 'org.apache.logging.log4j:log4j-slf4j-impl'
}
test {
useJUnitPlatform()
testLogging {
events "passed", "skipped", "failed"
}
}