Jul 27, 2017 · 1 min read
Good point! Well personally I cover them with integration tests. So basically I have high-level web tests which try to test all the cases, so it tests all the stack including DB.
But actually there is test framework for PSQL as well https://wiki.postgresql.org/wiki/Test_Frameworks
