Your First JUnit 5 Test
Learn Your First JUnit 5 Test (JUnit 5, JUnit 5 & Mockito) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.
JUnit 5 is the standard Java test framework. A test is a method annotated with @Test that fails when an assertion fails or an exception escapes.