Chapter 59. Testing Code with Unit Tests, Test-Driven Development, and Code Contracts

When you purchase new software, you expect that the software works. I’m pretty sure you don’t like applications you buy to cause unexpected crashes or errors due to apparently unhandled situations. The same is for users purchasing your software or for colleagues in your company performing their daily work through your applications, so you need to pay particular attention to check if and how your code works. Although implementing error handling routines is fundamental, another important moment in application development is testing code. Testing ...

Get Visual Basic® 2010 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.