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.
- Host: GitHub
- URL: https://github.com/sanish07/library-application-testing
- Owner: Sanish07
- Created: 2023-09-23T07:26:11.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-09-24T10:03:16.000Z (almost 3 years ago)
- Last Synced: 2025-07-11T02:50:25.742Z (12 months ago)
- Topics: hamcrest, java, junit5, mockito, unit-testing
- Language: Java
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.