You get the idea. It rocks for troubleshooting those pesky support calls from customers. For a lot more information, and a very nice screenshot, see Adam Cogan's original posting on this topic! You can find the specific recommendation in his menu unit tests best practice. (While you're there, check out the rest of his best practices, he has a huge number of great ideas.)
Unfortunately, you cannot ship your Team System unit tests with your application. I know there's an NUnit to VSTS Unit Test converter. Does anyone know if VSTS Unit Tests can be converted to NUnit or MbUnit unit tests, so that all of us using VSTS Unit Tests can implement this best practice?UPDATE: Adam Cogan claims he got the idea from James Newkirk (of NUnit fame). That may be the case, but I'll have to credit Adam. He's got so many best practices on his site (see this rule that covers shipping unit tests for an example) that if he didn't get the idea from Newkirk, he likely would have thought of it himself!
UPDATE TWO: This IS Adam's idea! James simply wanted a distributable test harness for developers to use! I misunderstood his first comment to me! (By the way, if you have comments on this post, or any other, please send email to steve+comments[at]accentient.com. We've had to disable comments until we find a way to more effectively eliminate comment spam.)
Remember Me
Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.