Articles tagged with 'test-driven-development'

1 Article

TDD: Mocking vs No Mocking – Here’s Why You Should Do Both

If you’re writing unit tests you’ll probably have heard the debate about whether or not you should use mock objects.
Or maybe you’re struggling with difficult to write or maintain tests because they’re complex?

In this article I’m going to attempt to show that you need both techniques in your solutions and show how understanding when to use each style of test will help you on your TDD and DDD journey.

Sep 14, 2021