Add support for using WebFlux's WebTestClient to document an API
Closes gh-384
This commit is contained in:
17
spring-restdocs-webtestclient/build.gradle
Normal file
17
spring-restdocs-webtestclient/build.gradle
Normal file
@@ -0,0 +1,17 @@
|
||||
description = 'Spring REST Docs WebFlux'
|
||||
|
||||
dependencies {
|
||||
compile 'org.springframework:spring-test'
|
||||
compile 'org.springframework:spring-webflux'
|
||||
compile project(':spring-restdocs-core')
|
||||
|
||||
testCompile 'org.mockito:mockito-core'
|
||||
testCompile 'org.hamcrest:hamcrest-library'
|
||||
testCompile project(path: ':spring-restdocs-core', configuration: 'testArtifacts')
|
||||
testRuntime 'org.springframework:spring-context'
|
||||
testRuntime 'org.synchronoss.cloud:nio-multipart-parser'
|
||||
}
|
||||
|
||||
test {
|
||||
jvmArgs "-javaagent:${configurations.jacoco.asPath}=destfile=${buildDir}/jacoco.exec,includes=org.springframework.restdocs.*"
|
||||
}
|
||||
Reference in New Issue
Block a user