You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pg_prove is command line tool that allows you to run the tests
PG Tap is very strongly typed - you need to cast your expected results. It looks like you need to cast ::numeric or ::varchar - precision doesn’t seem important, but the base type is.
Two types of assertions - check to see what you’ve inserted is there, OR you can look for a pattern.
Oh yeah, if you’re testing a MV you need to refresh it after the insert
FEC team paring with @vrajmohan to learn pgTAP utility for unit testing data.
The text was updated successfully, but these errors were encountered: