Hacker News new | past | comments | ask | show | jobs | submit login
Making Postgres coding and testing fun (github.com/itissid)
55 points by itissid on Dec 15, 2014 | hide | past | favorite | 5 comments



It'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/


There'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


Very 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.


Awesome, gonna test this right now. If it actually works it would solve a long-standing problem for us.


Cool 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 :)




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: