News for hackers. Stuff that matters.
Re:Just Write a Test for It by switch007 on Sunday March 30, 2025 @04:55AM (#43522580)
Related

https://github.com/sbdchd/squawk

"linter for PostgreSQL, focused on migrations"

It covers this class of problem I think

Re:Just Write a Test for It by NoahZuniga on Sunday March 30, 2025 @11:22AM (#43524868)
After reading the article I was left with the question why didn't he just use an SQL linter?
Re:Just Write a Test for It by kobzol on Monday March 31, 2025 @02:03AM (#43531621)
That didn't even occur to me, tbh :) But it doesn't have to be SQL linting, I just wanted to appreciate the mindset of not being lazy/afraid to write an unorthodox test.