Unit Testing .NET Core When Using Common Statics (DateTime, Folder, File, etc.)
Unit testing your code is a very important task, however, when using common components of .NET Core it can be complicated to accomplish. Many key features are delivered as non-testable Static, such as the DateTime, File, and Folder objects. This post explores options on how to test these easily.
Read Full Article