| From: | Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com> |
|---|---|
| To: | Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: Thoughts on unit testing? |
| Date: | 2017-08-11 13:39:48 |
| Message-ID: | a72c2b1c-d45b-b756-db3f-77315119498a@2ndquadrant.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On 8/10/17 17:53, Thomas Munro wrote:
> The current regression tests, isolation tests and TAP tests are very
> good (though I admit my experience with TAP is limited), but IMHO we
> are lacking support for C-level unit testing. Complicated, fiddly
> things with many states, interactions, edge cases etc can be hard to
> get full test coverage on from the outside. Consider
> src/backend/utils/mmgr/freepage.c as a case in point.
I don't have a good idea how to address this, but I agree that something
in this area would be widely useful.
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Chris Travers | 2017-08-11 13:45:10 | Re: Funny WAL corruption issue |
| Previous Message | Peter Eisentraut | 2017-08-11 13:27:48 | Re: SCRAM protocol documentation |