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: / @codeopinion
💥 Join this channel to get access to a private Discord Server and any source code in my videos.
🔥 Join via Patreon
/ codeopinion
✔️ Join via YouTube
/ @codeopinion
📝 Blog: https://codeopinion.com
👋 Twitter: / codeopinion
✨ LinkedIn: / dcomartin
📧 Weekly Updates: https://mailchi.mp/63c7a0b3ff38/codeo...
0:00 Intro
1:04 Interface
4:53 Delegate/Functions
7:09 Data
8:10 Level
#softwarearchitecture #softwaredesign #softwaretesting