Net Objectives Thoughts

Mocking as a Design Smell


Listen Later

In TDD, we seek to create granular, unique tests, tests that fail for a single reason only. To achieve this, when testing an entity that has dependencies, a typical way to prevent the test from failing for the wrong reason is to create mocks of those dependencies. A mock can be simply a replacement that … Continue reading "Mocking as a Design Smell"
...more
View all episodesView all episodes
Download on the App Store

Net Objectives ThoughtsBy Al Shalloway