• 0 Posts
  • 1 Comment
Joined 1 year ago
cake
Cake day: July 9th, 2023

help-circle
  • UkcodertoGolangDon't use mocks
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Unless I’m missing something, the author seems to think that a “Mock” means verification of exact /fixed/fragile call sequences, but instead advocates use of (undefined) “Fake” objects or alternatively skipping those unit tests and relying on integration or other high level tests for those parts of the system…

    I can’t decide if they actually believe that “Fake” != “Mock” or it’s just to drum up traffic…