Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

webmvctest vs springboottest

@WebMvcTest - for testing the controller layer
@JsonTest - for testing the JSON marshalling and unmarshalling
@DataJpaTest - for testing the repository layer
@RestClientTests - for testing REST clients
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #webmvctest #springboottest
ADD COMMENT
Topic
Name
3+5 =