intermediate30 minby DevFox

Test Doubles and When to Mock

Patching, fakes and seams. Mocking at the boundary rather than in the middle, and the over-mocked test that passes happily while the code it covers is broken.

  • Python
  • Testing

    Test Doubles and When to Mock — Python in Practice | DevFox Labs