JUnit 5 Assessment
Requirements of the project are:
- Your test should contain a test suite.
- Your test code should contain the following annotations @BeforeAll,@BeforeEach,@Test, @ParameterizedTest, @Timeout, @AfterAll and @AfterEach.
- Your code should also be able to test for two different kinds of exceptions.
I have refactored the source code into one class, InsuranceProgram with a separate method for testing users over and under 25 years of age. It includes 22 tests for full coverage in an attempt to satisfy Bias Path Testing. It includes Paramaterised Test using a CSV file, also included