O'Reilly logo

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

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 a type of testing or the technique to take the smallest piece of testable code isolated from the remaining software in the application and then determine whether it behaves as expected. Enterprise software applications usually comprises of multiple methods and functions with multiple lines of code integrated together. Identifying the piece of code that produces the defect is always a time-consuming task and the cost involved is also high. It is always a good practice to test the code in units and confirm the expectations before integrating the code module(s). Requiring all code to pass the unit tests before they can be integrated ensures standards and quality. It is the responsibility of the developer who ...

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