Ron Renninger
asked on
Testing c# libary class
is there an easy way to test a c# libary class. I have it linked to another c# program but need a way to check the class. Using visual studio 2015
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
MSDN Reflection
"The classes in the System.Reflection namespace, together with System.Type, enable you to obtain information about loaded assemblies and the types defined within them, such as classes, interfaces, and value types." -msdn
Here's a youtube series on it by Jamie King; a stellar guy to share his know how for free
https://www.youtube.com/watch?v=VJX1G15GTng&list=PLRwVmtr-pp05brRDYXh-OTAIi-9kYcw3r
Hope that helps. just want to emphasize that when developing a class unit tests are great, even when maintaining legacy software unit tests are amazing and will force you to refactor your code using best practices, a worth while investment.