4 ms·
Hey Derek. For tests, have you tried pgTAP[1]? Having all the db tests in SQL is very convenient and I think pgTAP could simplify your API tests. Here are som
by steve-chavez 7y ago
Hey Derek. For tests, have you tried pgTAP[1]?
Having all the db tests in SQL is very convenient and I think pgTAP could simplify your API tests.
Here are some examples of how testing with pgTAP looks like:
https://github.com/steve-chavez/socnet/blob/master/tests/friendships.sql https://github.com/steve-chavez/socnet/blob/master/tests/fri...
(Loading schema/fixtures can be done with a `\i file.sql`)
[1]: https://pgtap.org/ https://pgtap.org/