Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Random: I found out recently that Ruby has no unified test output standard, and that every tool makes up its own o_O

Not only this, but there is active resistance to useing something like TAP.



I've always had a soft spot for TAP's output format. It just seems like it has potential for much better debuggability. The concept of a plan alone puts it above xUnit styles in my mind. That and the expectation that each assertion has a descriptive message just makes it's output seem easier to follow.


Christian Neukirchen (the creator of Rack, among other things) created knock[1], a TAP tool for Ruby. It doesn't seem to have developed much a following, though.

[1] https://github.com/chneukirchen/knock


TAP is nice. I think it could use some extensions... but when I handrolled a test program a few years ago, I chose TAP. It... works.


What is TAP?



One of the frustrating parts of the technology industry is that it moves so damn fast, and people love acronyms. As a result, a new acronym every day.

It looks like an interesting tool, I'll investigate it.


TAP has been the testing protocol for the perl core since the late 80s :)


> As a result, a new acronym every day.

You are being optimistic.




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

Search: