re: You don't know TDD VIEW POST

TOP OF THREAD FULL DISCUSSION
re: In my experience unit tests have added little to no value. The company I work for has decoupled their code to the point of insanity. We've wound up...
 

Your company is not using TDD and you can share this post with your coworkers.

Sounds like your company is using Unit Testing as the holy grail when it's only a tool of TDD that always have to be accompanied with integration tests (as I mention on the post).

Unit Test -> prevents coupling and ensure contracts between classes.
Integration Test -> ensures that your code makes sense.

Of course, if the majority of your unit tests are: "ClassA.dog() calls ClassB.sheep() with X when receive X" then you may be having a problem of cohesion.

code of conduct - report abuse