c# - How should internal classes and methods be tested? -


possible duplicate:
testing internal class

i have test classes in separate assembly, , causing problem testing internal classes. since internal classes , methods visible inside of assembly test assembly can't see classes , methods. effective way test classes? need use reflection access methods wan't test?

you can use internalsvisbleto attribute.

see question: how allow assembly (unit testing one) access internal properties of assembly?


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -