• 2 Posts
  • 9 Comments
Joined 2 years ago
cake
Cake day: June 13th, 2023

help-circle

  • technologenesistoGolangDon't use mocks
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    2 years ago

    Mocking and dependency injection don’t seem to be mutually exclusive, if anything dependency injection can make it easier to get the component you’re testing to interface with the mock