September 16, 2019
JUnits 4, 5 and Contextual Components
JUnit5 vs JUnit4 JUnit5 is a successor of the JUnit4 testing framework. JUnit5 introduces some notable new features: Changes to annotations (JUnit4 -> JUnit5): @BeforeClass -> @BeforeAll @Before -> @BeforeEach @AfterClass -> @AfterAll @After -> @AfterEach @Ignore -> @Disable Tags for tagging and filtering via @Tag annotation Parameterized tests…