Peretz.Net
Fun stuff with .NET and C#
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:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment