Spring Boot Testing a REST Controller with Unit, Integration & Acceptance Tests

Spring Boot Testing a REST Controller with Unit, Integration & Acceptance Tests

55.448 Lượt nghe
Spring Boot Testing a REST Controller with Unit, Integration & Acceptance Tests
In this video we will be testing a Spring REST controller. We will be writing a full test suite with unit tests, integration tests & acceptance tests. We will be using JUnit5, Mockito, MockMvc & more. We will also be discussing the purpose of each type of test with their advantages & disadvantages. Source code: https://github.com/kriscfoster/spring-boot-testing-pyramid Spring Initialiser: https://start.spring.io/