Archives: Unit Testing

Unit Tests Test Case – Is My Code Output Correct

November 20, 2013 | By kiranbadi1991 | Comments Off on Unit Tests Test Case – Is My Code Output Correct | Filed in: Development, Others, Testing.

One of the goals for writing unit tests is to ensure that code does what it is supposed to do. When we write and compile the code, we know it gets through perfectly without any errors. However not having any errors do not necessarily mean that it does what it’s supposed to do. We need • Read More »

Tags: , , , ,

Unit Testing–What to Test

October 9, 2013 | By kiranbadi1991 | Comments Off on Unit Testing–What to Test | Filed in: Development, Others, Quality, Testing.

One of the frequent discussions I often get into with developers especially in agile projects is how to write the test case for the class or method and what should we be testing in the unit tests. There seems to be difference in opinion among folks as what unit test case needs to cover? Or • Read More »

Tags: , ,

Unit Testing – 10 Good Reasons to Avoid It

July 20, 2013 | By kiranbadi1991 | Comments Off on Unit Testing – 10 Good Reasons to Avoid It | Filed in: Development, Scripting.

I have been participating in the unit testing discussion for quite some time and does know that Unit testing is considered as one of tools which can increase the quality of the code which in turn improves the quality of the product, but still lot many people shy away from writing the unit tests. Couple • Read More »

Tags: ,