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
This commit is contained in:
Brian Clozel
2021-12-10 22:52:14 +01:00
parent fe76809f3c
commit dd81d72fcb
5 changed files with 2 additions and 0 deletions

View File

@@ -29,6 +29,7 @@ subprojects {
configure(moduleProjects) {
apply plugin: 'java-library'
apply plugin: 'java-test-fixtures'
apply plugin: 'org.springframework.graphql.compiler'
java {

View File

@@ -17,6 +17,7 @@ dependencies {
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'