Back to Browse

Testing WITHOUT Mocks or Interfaces!

27.7K views
Dec 1, 2022
12:26

A common approach people take with testing is mocking. Specifically defining interfaces for dependencies which are then typically mocked so you can test in isolation. While interfaces can be helpful for mocking as well as fakes and stubs, there can be other approaches taken. Meaning you don't need to create an interface for everything. 🔗 EventStoreDB https://eventsto.re/codeopinion 🔔 Subscribe: https://www.youtube.com/channel/UC3RKA4vunFAfrfxiJhPEplw?sub_confirmation=1 💥 Join this channel to get access to a private Discord Server and any source code in my videos. 🔥 Join via Patreon https://www.patreon.com/codeopinion ✔️ Join via YouTube https://www.youtube.com/channel/UC3RKA4vunFAfrfxiJhPEplw/join 📝 Blog: https://codeopinion.com 👋 Twitter: https://twitter.com/codeopinion ✨ LinkedIn: https://www.linkedin.com/in/dcomartin/ 📧 Weekly Updates: https://mailchi.mp/63c7a0b3ff38/codeopinion 0:00 Intro 1:04 Interface 4:53 Delegate/Functions 7:09 Data 8:10 Level #softwarearchitecture #softwaredesign #softwaretesting

Download

1 formats

Video Formats

360pmp426.1 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Testing WITHOUT Mocks or Interfaces! | NatokHD