๐ง Struggling with unit tests? Does your code involve input/output (IO) operations?
๐ปThe answer is likely yes. Unit tests ensure that a unit of code works as expected. They only focus on testing the business logic. For instance, a unit test wouldn't cover database persistence.
More info ๐งต ๐ [1/2]
๐ผ๏ธ Picture: https://unsplash.com/@gndclouds
#SOLIDPrinciples #SOLID #DependencyInversion #DIP #OOP #ObjectOrientedProgramming #ProgrammingTips