PostgREST / postgrest

REST API for any Postgres database
https://postgrest.org
MIT License
23.27k stars 1.02k forks source link

Increase test coverage #1719

Open wolfgangwalther opened 3 years ago

wolfgangwalther commented 3 years ago

To be able to properly use coverage overlays (#1713), we need to increase coverage close to 100%. Many of the files are close to that already.

This issue is to track progress across PRs.

TODO:

steve-chavez commented 1 year ago

Noted that we only run coverage on pg 15. This generates some drop for code paths that only run on pg 9.6 and lower, like: https://github.com/PostgREST/postgrest/pull/2843/files#r1248317325

steve-chavez commented 1 year ago

Show instances added on https://github.com/PostgREST/postgrest/pull/2847 dropped the coverage a bit. Related to this need https://github.com/PostgREST/postgrest/issues/2627.

Ideally we'd be able to use our doctests to cover those. An alternative could be moving the doctests to unit tests.