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

Popular posts from this blog

java - is not an enclosing class / new Intent Cannot Resolve Constructor -

python - Error importing VideoFileClip from moviepy : AttributeError: 'PermissionError' object has no attribute 'message' -

qt - QML MouseArea onWheel event not working properly when inside QML Scrollview -