java - Is it possible to use @AutoConfigureRestDocs with restassured instead of mockmvc? -
spring boot 1.4 introduces @autoconfigurerestdocs
(see http://docs.spring.io/spring-boot/docs/current-snapshot/reference/htmlsingle/#boot-features-testing-spring-boot-applications-testing-autoconfigured-rest-docs). docs state:
it automatically configure mockmvc use spring rest docs , remove need spring rest docs' junit rule.
i use restassured support of spring rest docs instead of mockmvc. can @autoconfigurerestdocs
?
no, not @ moment. @autoconfigurerestdocs
builds on top of spring boot's testing support being able auto-configure mockmvc
. there's no support auto-configuring rest assured rest docs auto-configuration build upon. if it's you'd see in spring boot, please open enhancement request.
Comments
Post a Comment