* chromatic <[EMAIL PROTECTED]> [2008-05-18 07:20]:
> People already have to modify the TODO test to add whatever
> kind of positive assertion you postulate; why is writing a
> separate test a barrier?

Because it’s hidden behind an internal interface that would have
to be exposed? Or any other reason why code we have to deal with
in the real world ends up harder to test than it should be in an
ideal world. Modifying one TODO test in such cases would be far
cheaper than doing all the legwork necessary to write a proper
test case. The result is not as good, of course. If expedience
demands forgoing the extra work, however, then having a cheap,
suboptimal option to resort to is better than having to forgo
testing entirely.

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>

Reply via email to