RestFuse vs Rest Assured vs MockMVC Rest Service Unit Test Framework

I tried to find a simple universal unit test framework for Spring MVC MVC-based service services that I wrote.

I searched online and narrowed it down to:

I like RestFuse because it is mainly based on annotations, but it seems to have an easier way to pass parameters and check responses. And finally, as a Spring MVC Rest Service project, I wonder if I should just stick to the already established way to test Restore services in Spring using MockMVC.

An interest in getting any feedback, as well as performance, past experience and, if there is anything else, I must take into account.

+4
source share
2 answers

Rest-Assured REST Java. BDD, .

REST , . Spring MVC REST-.

post RestAssured v2.2, spring-mock-mvc, MockMVC, BDD REST. :

:

RestAssuredMockMvc vanilla MockMvc, , Spring MVC. , , - . - interceptor. Standard REST Assured , API RestAssuredMockMvc. , REST Assured API, , REST API ( , ) JAX-RS ( ).

, REST-Assured spring -mvc-webapp examples REST- , REST-, MockMVC-.

+6

MockMVC , , - REST -. , REST Assured spring-mock-mvc.

, , - Karate. , (. Peter Thomas JAX-RS (a la MockMVC )?).

+4

Source: https://habr.com/ru/post/1623182/


All Articles