Summary

This chapter illustrated the Visual Studio instrumentation and libraries about testing code. The first discussion was about unit testing, a technique used for checking whether code blocks work outside the application context, inside a sandbox. For this, you saw how test projects work and how to enable Code Coverage. The second discussion of the chapter was about Test Driven Development, a programming approach in which developers write their software by first writing unit tests. You saw Visual Studio 2015’s support for TDD, with special regard of the Generate from usage feature.

Image

Get Visual Basic 2015 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.