Open wolfgangwalther opened 3 years 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
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.
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:
?key=
) (line 171)+
in query string converted to space (line 183)"application/x-www-form-urlencoded"
(line 215)STABLE
(line 112) (should we test for read only transaction somehow?) (#1720)POST
,PATCH
,DELETE
(lines 160, 195, 254)PATCH
(line 212)OPTIONS
request to missing endpoint (line 285)pdName
can be covered in line 292tablePKCols dbStructure s tn
is not covered in line 329jwt-aud
(line 64)addHasVariadic
to in-SQL (line 145)parseArg
to in-SQL to solve TODO and coverage (line 161)combinations
to allow better Pattern Matching in line 404addViewM2ORels
to remove Pattern Matching in line 342