I wanted to be able to test non-public classes and members without having to use that awful generated stuff that MSTest builds.  I also didn’t want to have to reflect into an assembly in every single unit test.  The result ended up being a nice little rabbit trail project which proxies public or non-public classes to provide access and assertions for public and non-public members.  I’m currently using to test some of the internal serialization classes in my NBT Library project.

The code is available on Github: https://github.com/skonves/Konves.Testing

There is a NuGet package available: https://www.nuget.org/packages/KonvesTesting

And its released under my very own GSD license! http://blog.stevekonves.com/2011/11/gsd/

Posted on March 2, 2014 at 9:31 pm by Steve Konves · Permalink
In: Uncategorized

Leave a Reply