6 ms·
It's unit tests for PostgreSQL, so pretty straightforward use cases. I've definitely caught a lot of edges, type confusion, and refactoring opportunities with
by michelpp 6y ago
It's unit tests for PostgreSQL, so pretty straightforward use cases. I've definitely caught a lot of edges, type confusion, and refactoring opportunities with it.
Here are some pgTAP examples from my work:
pgsodium: https://github.com/michelp/pgsodium/blob/master/test/test.sql https://github.com/michelp/pgsodium/blob/master/test/test.sq...
pgjwt: https://github.com/michelp/pgjwt/blob/master/test.sql https://github.com/michelp/pgjwt/blob/master/test.sql
metagration: https://github.com/michelp/metagration/blob/master/test.sql https://github.com/michelp/metagration/blob/master/test.sql