ict.ken.be

Delivering solid user friendly software solutions since the dawn of time.

Mock framework vs manual mocking

Categories: Testing

PRO

  • Fake implementations of abstractions.
  • Complete control over mock object functionality.
  • No need to learn frameworks.

CON

  • Each mock object adds more code.
  • As complexity grows, so do mock objects.
  • What if interface changes or interaction logic changes?
  • Total time needed to write all the mocks.