Master Java Unit Testing with Spring Boot and Mockito

Learn to Write Awesome Java JUnit Unit Tests with Spring Boot and Mockito in 40 Easy Steps About This Video Learn to write independent unit tests for RESTful web services talking with multiple layers - web, business, and data. Learn how to write integration tests using an in-memory database H2. In D...

Full description

Bibliographic Details
Other Authors: Karanam, Ranga, author (author)
Format: Video
Language:Inglés
Published: Packt Publishing 2018.
Edition:1st edition
Subjects:
See on Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009631203306719
Description
Summary:Learn to Write Awesome Java JUnit Unit Tests with Spring Boot and Mockito in 40 Easy Steps About This Video Learn to write independent unit tests for RESTful web services talking with multiple layers - web, business, and data. Learn how to write integration tests using an in-memory database H2. In Detail Spring Boot is the most popular framework to develop RESTful services. It has awesome unit testing capabilities through Spring Boot Starter Test. Mockito is the most popular mocking framework. JUnit is the most popular Java unit testing framework. You will build the unit tests step by step - in 40 easy steps. This course would be a perfect first step as an introduction to unit testing with the Spring Boot and Mockito frameworks. You will be using Spring (dependency management), Spring Boot, Maven (dependencies management), Eclipse (IDE), in memory database H2 and Tomcat embedded web server. We will help you set up each one of these. You will use all the frameworks that are part of the Spring Boot Starter Test - JUnit, Spring Test, Spring Boot Test, AssertJ, Hamcrest, Mockito, JSONassert and JsonPath. You will learn to use the most important unit testing annotations - @RunWith(SpringRunner.class), @SpringBootTest, @WebMvcTest, @DataJpaTest and @MockBean.
Item Description:Title from resource description page (Safari, viewed June 18, 2018).
Physical Description:1 online resource (1 video file, approximately 3 hr., 55 min.)