2 Comments

  • My last project was full of them! Today, the test project is abandoned due to this.

    The main reason, I think, was badly written interaction based tests. I guess no one, except me, understood them. They were also tightly coupled to implementation, so whenever the implementation changed, the tests broke.

    Burned by this, I avoid mocking frameworks, as they lead to tests that "no one understands what they are trying to test".

  • I would say that TAT is the direct result of forgetting the refactor part of "Red, Green, Refactor" meaning you not only refactor your code under test but you also refactor your test to a more soluble state.

Comments have been disabled for this content.