Hacker News new | past | comments | ask | show | jobs | submit login
Fast tests are useless (obeythetestinggoat.com)
1 point by joeyespo on Sept 22, 2013 | hide | past | favorite | 1 comment



> Arg! That's not a unit test at all! It touches the database, which is hot lava! Worse still, it touches the filesystem! It'll be really slow! And it has too many dependencies!

The reason these things are bad is because something outside of your tests can break them. You can have odd failures when you're running two sets of tests in parallel, for one.

It is not because it's just slow.




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: