Testing your application can save you hours and hours that you would spend in bugfixing, so that is why in this tutorial series we take a look at testing with Spring Boot. In in we will create different types of tests (e.g. unit tests, integration tests, etc). We will go through the fundamentals of testing and hopefully you will be able to learn something new.
In this video we take a look at how we can test our controllers using MockMvc
AssertJ
https://joel-costigliola.github.io/as...
Mockito
https://site.mockito.org/
Source code:
https://github.com/liliumbosniacum/te...
This videos commit:
https://github.com/liliumbosniacum/te...
Intro by Audionautix is licensed under a Creative Commons Attribution 4.0 licence. https://creativecommons.org/licenses/
Artist: http://audionautix.com/
#java #springboot #testing #unittest #integrationtests #mockito