SystemWrapper Library

SystemWrapper is a library that wraps .NET classes for system resources like System.IO.FileInfo, System.Reflection.Assembly, and many other classes so you can easily mock them.

Why?

When writing unit tests, we don't want to actually depend on resources such as files, databases, registry entries, ... . Many .NET classes don't implement interfaces, so it's not easy to mock them. In many cases developers just wrap these classes in their own classes, so they can easily mock. The idea behind this project is to provide developers with the reusable wrapper classes.

Getting Started
Classes you can mock today

Last edited Dec 1, 2008 at 5:34 PM by vkreynin, version 6