DEV Community

Discussion on: Testing 101: Introduction to Testing

Collapse
 
grubertm profile image
Marco Grubert

Very nice introduction. Thank you Aly!

As an old school developer I prefer end-to-end tests and integrated invariant checks. Unfortunately the TDD crowd is currently dominating the debate. The benefits of that methodology are very domain-specific but any kind of nuanced discussion is typically drowned out by one-size-fits-all claims.

At least for C++ there is some light at the end of the tunnel as unit testing rates have started going down; hopefully the saved time has been spent on better design, documentation, and system testing:
jetbrains.com/research/devecosyste...

Collapse
 
leob profile image
leob

That's an interesting take on the pros and cons of TDD ... the problem with unit tests is often that too much trivial testing is done which is just extra code that needs to be maintained ... if done poorly then it's more of a hindrance than a benefit ... that's why deciding what to test is so important ... think before you act.