Once the development is completed, you have to perform unit testing before handling over to QA team.
In the Unit test document, you have to summarize your changes is a less technical and easy to understand manner. Then you have to list out test scenarios, test cases, expected result, actual result, and test result in a tabular format like below-
Test Scenario | Test Case | Expected Result | Actual Result | Test Result |
After loading the data to the target the load date field should be populated as system date | 1. Load the data | The data should get loaded without any errors | As expected | PASS |
2. Check the load date field in target | The load date should be same as the system date | As expected | PASS | |
Run the query. The AR amount in the query should be same as the Due Amount if the net due date is more than the system date | 1. Execute the query | The query should get executed without any errors | As expected | PASS |
2. Check the AR amount in the query | The AR amount and Due amount should match only if net due date is in future as compared to system date | Failed – AR amount is same as Due amount even if net due date is less than the system date | FAIL |
If any scenario is failed, you have to check and correct the error and perform one round of unit testing again.