Unit Test Basic

Business Requirement

This is a part of implementation code pick up from a Internal reimbursement system. you should write unit test for it to make sure it can work in production.

Practice Requirement:

  • ** Write test cases after clearly understanding the implemented code**
  • ** Complete tests in the existing test file and ensure that the test coverage of the test category of this test file is 100%**
  • Unit testing should cover all core business logic
  • Make unit test refactoring with small steps
  • ** Submit code in small steps with a comment on meaning **
  • Complete unit tests on the corresponding file under the src/test catalog of project