kareemmahlees / meta-x

A RESTful & GraphQL API to supercharge your database.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Increase Code Coverage

kareemmahlees opened this issue · comments

Previously the code coverage was 72% and still there were code left to cover.
Now, after the migration and using TestContainers for testing, it is 59% which is too low.

I think the problem is that we are only testing that the code succeeded and not testing the failure situations, i.e. the return nil,err situation, which accounts for a huge part of the coverage.