Friday, March 20, 2015

Testing internal classes with C# and MSTest

put an attribute in the assemblyinfo.cs file in the project under test, pointing to the test assembly Project under test will have
[assembly: InternalsVisibleTo("MyTest")]

No comments: