Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
Do you test your database?
3 points
trapatsas
10y ago
2 comments
Save
Share
Do you test your SQL/database? Do you unit test your stored procedures? What tools do you use for functionality/performance testing?
2 comments
2 comments · 1 top-level
top
newest
oldest
okket
10y ago
· 1 in thread
For PostgreSQL, I'm using David Wheelers pgTAP (unit testing framework) and Sqitch (git inspired change management). For other DBs, Sqitch at least provides sanity checks for structure/design stage.
http://pgtap.org/
http://sqitch.org/
trapatsas
OP
10y ago
Good to hear! Although, I really have a strong feeling that only a small minority really tests SQL/databases.
j
/
k
navigate · click thread line to collapse