In SQL, I want to be able to express my expectations about how many records will be matched in a join, and I want my query to error if they're violated.
We actually do have unit tests for some of our more infrastructure-y stuff, just not for the plethora of random queries stored in random places. There's also this: http://pgtap.org/
-
-
Ooh pgtap is super cool!
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.