CodeReviewerAi / CodeReviewerBackend

Enter a function into the userInput and see if you should merge the function or not.
1 stars 0 forks source link

Tests for git data #29

Closed johan-t closed 10 months ago

johan-t commented 10 months ago

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: