General question regarding testing of code for Rhino plug-in

Hi Guys,

I’m working on a Rhino plug-in in C# and am wondering if there is a way/library/framework to automate testing of code.

Currently I have a bunch of breps & surfaces on which I test my code one by one by hand until it doesn’t work on one object. Then I try to fix the code so it also works for that new object and if it works, I try the code again on the objects I tried before to see if it still works for those. It seems more cumbersome than it should be. So what’s the pro way of doing this?