3 ms·
Making Postgres coding and testing fun
- Svenstaro 12y agoAwesome, gonna test this right now. If it actually works it would solve a long-standing problem for us.
- itissid 12y agoCool let me know how it goes. We can go over a plan to iron out some kinks cause I put this together really quickly and there is technical debt that I have incurred. The structuring of this debt has to be prioritized based on feedback from real users :)
- nzroller 12y agoThere's another little known tool we use for this which works great if you're in a Java ecosystem: https://github.com/opentable/otj-pg-embedded https://github.com/opentable/otj-pg-embedded
- itissid 12y agoVery Cool. Fortunately packaging and "virtualenv" problems are moot due to Maven and Gradle among other things which is why python needed this kind of a solution.
- daxelrod 12y agoIt's great to see the Test Anything Protocol[1] being used outside of the Perl world. TAP allows you to detect when an assertion hasn't run (you declare the number of tests upfront and each test is numbered). It's also really helpful to have test output be in a format that's both machine- and human-readable so that other tooling can consume your test runs. [1]: http://testanything.org/ http://testanything.org/