The following project demonstrates the library management system and associated modules which include :
- Searching for a book in library
- Borrowing books from the library
- Returning books and updating library books catalogue
- View and pay book rent
For all the methods in Library class, unit testing has been done with full coverage, which include implementation of following concepts :
- Testing specific annotations such as @BeforeEach, @AfterEach, @BeforeAll, @AfterAll, @Test, etc.
- JUnit and Hamcrest assertions such as assertEquals, assertThat, assertNull, etc. To handle pass and fail case scenarios for all the specific module testcases.
- Using Mockito mocking framework to test date specific testcases.