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

As always, there are tradeoffs.

Personally, I work with some incredibly (100+line) long "unit" tests and they are a nightmare to work with.

Especially when the logic is repeated across multiple tests, and it's incorrect (or needs to be changed).

I really, really like shorter tests with longer names, but I'd imagine there are definitely pathologies at either end.



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

Search: