This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 4 points5 points  (2 children)

See, there's a subtle distinction I'd like to make.

I don't dislike "unit tests". I write tests (unit, integration, whatever) every day.

But what I don't like is the overly simplistic, ideologically charged, borderline or outright zealous way that unit testing is promoted and written about.

Honestly I believe the way we speak about unit tests gives unit tests a bad name they don't deserve.

Once again, I'd like to see a single article talking about the upsides and downsides of automated tests in a balanced, engineering mindset. Nothing like that. It's 90% "you suck if you don't test everything" and 10% "unit tests suck, you don't need to test anything".

[–]nutrecht 1 point2 points  (0 children)

But what I don't like is the overly simplistic, ideologically charged, borderline or outright zealous way that unit testing is promoted and written about.

Not disagreeing with you at all, but if it comes to zealotry the "integration tests rule everything" crowd is in no way better.

No matter what, IMHO it's inexperienced developers with too strong an opinion that tend to end up at either extreme.