How to do integration testing in Spring Boot Rest application
Unlike unit tests where we should be isolating the test to just the codes in the function we are testing, integration tests is meant to test the full spectru...
Unlike unit tests where we should be isolating the test to just the codes in the function we are testing, integration tests is meant to test the full spectru...
Spring provides the @WebMvcTest annotation for testing Spring MVC components, providing only the configuration relevant to the MVC tests and not the full aut...
Unit testing services is easy, cause we don’t need to set up any application context in Spring, since the purpose of unit testing is just to isolate testing ...
Usually we do not need to write tests for the functionalities provided by the framework, but we can do so when certain functionalities we use from the framew...
In my last post - Getting started Spring Boot Application, I demonstrated how to create a sample forum application with Spring Boot using MariaDB as the data...