TDD is easy to learn but hard to master. Often beginners end up in mess when using TDD in their projects and then blame this method. This presentation shows the top 5 pitfalls when starting with TDD and how you can avoid them.
Tests against the Module API. 2 Test the Behaviour, not the Implementation. 4 Use Integration Tests for I/O-Components. 3 Don‘t mock external libraries, use Adapters. 5 Make use of the Test Pyramid.