ajaynegi45 / LibraryMan-API

Revolutionize book management with LibraryMan! Easily track stock, borrowers, and due dates, streamlining operations for schools, companies, and libraries worldwide, ensuring efficient and organized book lending.
MIT License
12 stars 4 forks source link

Write Unit Tests #26

Open ajaynegi45 opened 2 weeks ago

ajaynegi45 commented 2 weeks ago

Description:

write comprehensive unit tests for the existing functionality of the LibraryMan project. Unit testing is crucial to ensure that the individual components are functioning correctly and to catch potential bugs early in the development process.

Acceptance Criteria:

  1. Each function should have a minimum of 80% code coverage.
  2. Tests should cover edge cases and possible failure scenarios.
  3. All unit tests must be executable through the project's CI pipeline. (Optional)
  4. Documentation for how to run the tests locally should be updated if necessary.

Note:

If you are new to the project, please familiarize yourself with the README.md file and the project structure before starting.