Hacker News new | ask | show | jobs
by TeaBrain 750 days ago
This idea is largely regarded as making the codebase less maintainable since it can be more difficult to test discrete logical units of the SQL code than doing so for the application code.
2 comments

I'm aware of that belief, but I do not share it.
Sounds like we should be adding good testing frameworks to SQL then
pgTAP is pretty good for PostgreSQL, but I don't know what if any options are available for other databases.

https://pgtap.org/