3 ms·
I'd love to find a SQL testing tool that has similar ergonomics to pytest. ... or for someone to build a tiny framework on top of pytest that helps write autom
by simonw 4y ago
I'd love to find a SQL testing tool that has similar ergonomics to pytest.
... or for someone to build a tiny framework on top of pytest that helps write automated SQL tests.
- drewcoo 4y ago> SQL testing tool that has similar ergonomics to pytest What exactly does that mean? You can write SQL queries and run them through PyTest and if you do it in CI there's no repetitive human injury involved.
- simonw 4y agoSure, you can do that: but most people don't. I would be delighted to see a tool grab enough mindshare to become the safe default testing tool for SQL code, in a similar way to pytest in Python world.
- heywhatupboys 4y agoIf you praise pytest as some unique test runner, I pressume you haven't worked with many actually good testing engines... SQL has more than enough to compete with the stdlib og Pythong for testing
- simonw 4y agoIf you can point me to testing frameworks that are better (as in more enjoyable to use) than pytest I would LOVE to hear about them. (pytest isn't part of the Python standard library.) Especially if you've got some suggestions for JavaScript, where I have yet to find anything that makes me enjoy test writing in the same way that pytest does.
- heywhatupboys 4y ago`rspec` is very nice. There exists similar (copied) tools for JS and Python alike :)
- giraffe_lady 4y agopgTAP