Hacker News new | past | comments | ask | show | jobs | submit login

> Somewhat hyperbolically and sarcastically: if you are good enough to write perfect tests for your code, just write perfect code. If you aren’t perfect at writing tests, how do you know the tests are complete, bug free, and actually useful? :)

Well obviously, you just write tests for the tests. :3

It's called induction.




Qui testet ipsos tests?


It's actually called mutation testing. And luckily it's almost fully automated.


> Well obviously, you just write tests for the tests. :3

I had a friend whose first job out of school (many years ago) was part of a team at Intel assigned to write tests for their testing tools. When it matters enough economically, it will happen. As you can see from recent news, that is still not enough to guarantee a good result.




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

Search: