Part 38 - Introduction to Unit Testing - Write your First Unit Tests in FleetMS

This is Part 38 of our complete application in Spring Boot (FleetMS version 2). In this part, we would be writting Unit Tests for the FleetMS version 2. We would us JUnit. We’ll use the assert() method Updated Github repo - 00:54 - What is Unit Testing 02:17 - Create a New Class for Testing 03:47 - Autowire in the CountryRepository 04:04 - Create the TestFindById Test 07:37 - Create the Failing Test
Back to Top