I have created tests that check if the data we are saving from the repos are correct. I have done this by creating example functions, in different cases in the testRepo2 and configured the expected output in the tests. The tests run when main is run, and you can modify the repo you want to run but it will always also run the testRepo2, so that the tests work.
The tests currently cover these cases:
Functions Created with Merge and Not Changed After
Functions Created on Main Branch and Not Changed After Merge:
Functions Created with Merge and Changed After Merge with commit to main
Functions Created on Main Branch and Changed After Merge with commit to main
Functions Changed After Merge with another Merge
Checklist before requesting a review:
[x] Remove all uneccessary debug print statements
[x] Make sure all tests pass
[x] Make sure there are enough comments to understand your code
What issue did you fix?
Fixes: #6
Quick description of your approach:
I have created tests that check if the data we are saving from the repos are correct. I have done this by creating example functions, in different cases in the testRepo2 and configured the expected output in the tests. The tests run when main is run, and you can modify the repo you want to run but it will always also run the testRepo2, so that the tests work.
The tests currently cover these cases:
Checklist before requesting a review: