O'Reilly logo

Software Testing using Visual Studio 2010 by S. Subashni, N. Satheesh Kumar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. Unit Testing

Unit Testing is the technique used by developers to confirm that the piece of code is producing the result as expected. In project development, there may be many modules and each module comprises a set of code or functionalities. Identifying the piece of code in the module that causes the defect is always a time consuming task and the cost involved is also more. It is always better to test the code in units and confirm the functionality before integrating the code into module(s). Requiring all code to pass the unit tests before they can be integrated ensures that the functionality always works. Developers have to make sure each unit of code is written for one piece of functionality so that the result produced by each unit ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required