An open API service indexing awesome lists of open source software.

https://github.com/sanish07/library-application-testing

Library Management System - Unit Testing with JUnit, Hamcrest and Mockito testing frameworks.
https://github.com/sanish07/library-application-testing

hamcrest java junit5 mockito unit-testing

Last synced: about 1 month ago
JSON representation

Library Management System - Unit Testing with JUnit, Hamcrest and Mockito testing frameworks.

Awesome Lists containing this project

README

          

## Library Application - Unit Testing


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.