This project has moved. For the latest updates, please go here.

Visual Studio Unit Test Generator and internal classes

Aug 9, 2013 at 12:42 PM
First of all, thanks for the good work on the unit test generator.

I was wondering if you are planning to add support to this use case :
  • A class is defined as internal in an assembly
  • The test project has access to the internal classes of the assembly through the attribute [assembly :InternalsVisibleTo("TestsProject")]
At the moment the generate unit test button does not appear for those classes.

I'd like to keep most of my class internals in my assemblies, as it enables dead code detection among other things.