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
Post a Comment