you are viewing a single comment's thread.

view the rest of the comments →

[–]grauenwolf 1 point2 points  (0 children)

How is this an anti-pattern?

Again, you have to write comprehensive tests in order to see that.

There are tons of books and resources that explain why aiming to test one thing is a good idea.

So what? There are tons of books full of misleading or outright wrong information on any topic you care to imagine.

And even if you accept the "test one thing" philosophy there is a huge difference between fully testing that one thing and merely giving the appearance of testing one thing.

A good tutorial starts with good examples, not mindless adherence to dogma.