Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
Do you test your database? | Better HN
Do you test your database?
3 points
trapatsas
10y ago
2 comments
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
default
newest
oldest
okket
10y ago
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