Dagelijkse archieven: 25 augustus 2017

Quite often I see unit tests that seem very interested in a class’s inner workings. This not only misses the point of a unit test, but makes the class harder to refactor, since the corresponding unit test will have to change more often as well. Suppose you have a BookService […]

Test behaviour, not implementation