Add support for JUnit 5

This commit adds support for JUnit 5 and its Jupiter programming
model. A new Jupiter Extension implementation,
RestDocumentationExtension, is provided. This extension can be applied
to a test class to allow it to use Spring REST Docs to document a
RESTful API.

Closes gh-296
This commit is contained in:
Andy Wilkinson
2017-05-19 17:22:34 +02:00
parent 6986cb75a8
commit 0e6e785fb0
15 changed files with 691 additions and 4 deletions

View File

@@ -16,6 +16,7 @@ dependencies {
testCompile 'javax.validation:validation-api'
testCompile 'junit:junit'
testCompile 'org.testng:testng:6.9.10'
testCompile 'org.junit.jupiter:junit-jupiter-api'
}
tasks.findByPath("artifactoryPublish")?.enabled = false