Russ Olsen has posted five great tips for writing unit tests. I agree with Russ on the second tip, “Silence, please,” that a good unit test should respond only by giving results like “Will it work or not?”. Answer in straight “Yes” or “No” is more relevant to me than providing all kinds of junk information from unit tests. And if a unit test says “No,” I can further debug the code and find where the problem is.
So You Wanna Write A Unit Test
Published by Firoz Ansari
My name is Firoz Ansari. I'm a software professional with passion for technology and design. I provide software consulting services using Microsoft and open source technologies. View all posts by Firoz Ansari
Published