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

> people just write useless tests that test absolutaly nothing usefull, and are worth nothing.

Oh man, those are my favorite. They're super difficult to critique in code review. "This test doesn't really test anything" isn't very helpful but writing a proper "do this" is often more work than writing a proper test yourself.



Is that not helpful? It's definitely helpful.

"This test doesn't do anything", then reject & request changes, "add substantive tests that cover the following invariants: ...".


Thats the thing. Its hard to describe, but you know when you see it.




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

Search: