Skip to main content

Posts

Showing posts from July, 2014

Unit Testing, In a right way.

This blog is aimed at those developer who have little development and unit testing experience. Please refrain yourself to proceed if you don't know development. What is Unit Testing ? By Definition, In computer programming, unit testing is a method by which individual units of source code are tested to determine if they are fit for use. A unit is the smallest testable part of an application. In procedural programming a unit may be an individual function or procedure. Unit tests are created by programmers or occasionally by white box testers. Some Benefits of Unit Testing: Bug Tracking Code Maintenance Understandable code How the above things help in actual scenario ? Suppose you have developed a code from scratch and it went to maintenance. Now you left the company, there are no unit test written and a bug came via customer. The app went for a hot fix and some other guy fix it, and  his fix created another which in turn creates another issue. So the creation of i...