Breaking static dependency

added by DotNetKicks
2/15/2019 7:19:19 AM

2 Kicks, 689 Views

Static dependency can be nightmare for developers who write tests for their code. There is not much to do to get rid of static dependencies if they come with third-party libraries or NuGet packages. This blog post introduces two tricks to make code with static dependencies testable.