Monday, 12 May 2014

Is TDD Dead?

An excellent discussion about being flexible about your testing suit.

“There is no original tough that tests have to be fully isolated.”

“I hardly ever use mocks.”

“(..) yes, you want single testing code, it is great to be able to run all your tests with a single command.” 

“you can do bad testable code.”

“We use TDD and now we can’t refactor anything… If you have mocks returning mocks returning mocks your test is completely coupled to the implementation - not the interface - but the exact implementation of some object 3 streets away.. of course you cannot change anything without breaking a test. That is too higher price to pay.”

“I have seen code not better designed just because it was testable.”

“People ended up discarding real useful techniques just because they could not test them in isolation.”


No comments:

Post a Comment