Wednesday, November 21, 2007

VSTS (Visual Studio Team System) Unit Test : Not as simple as Right Click and Fill in the blanks



There are no such thing as simple as right click, fill in the blanks and there you go.... your tasks done. A Big FoxtrotUniformCharlieKilo lah...
What

... writing unit tests is not a trivial task. Approached correctly, unit tests can yield amazing results for developer productivity and quality of code. It can help you to create applications with far fewer errors, while also giving other developers insight into your code. But it takes a commitment upfront, making sure to follow some simple rules. When approached poorly, unit tests can achieve the opposite results, stealing valuable time and complicating the testing process..... -source



Good points to digest..

-Test the Right Thing
-Create Maintainable Tests
-Create Readable Tests
-Avoid Partially Relevant Code in Your Setup Method


..the real "malaghai" test case will be published (If i'm feeling d@mn feel good). Wait for it... :)

0 comments: