I think my test are terrible - i dont test edge cases, rarely actually test or go deep into ways the software could fail and making sure im dealing with those errors correctly. dont use the testcases struct because this made the tests shit. Use a new function for each test case and dont be lazy with it! I also think the mock is poor in place but im honestly not sure how deep I could be going with it?!
I think my test are terrible - i dont test edge cases, rarely actually test or go deep into ways the software could fail and making sure im dealing with those errors correctly. dont use the testcases struct because this made the tests shit. Use a new function for each test case and dont be lazy with it! I also think the mock is poor in place but im honestly not sure how deep I could be going with it?!