© Dirk Strauss 2020
D. StraussGetting Started with Visual Studio 2019https://doi.org/10.1007/978-1-4842-5449-3_4

4. Unit Testing

Dirk Strauss1 
(1)
Uitenhage, South Africa
 

Many developers will have strong opinions on unit testing. If you are considering using unit tests in your code, then start by understanding why unit tests are useful and sometimes necessary.

Breaking down your code’s functionality into smaller, testable units of behavior allows you to create and run unit tests. Unit tests will increase the likelihood that your code will continue to work as expected, even though you have made changes to the source code. In this chapter, we will have a look at
  • Creating and running unit tests

  • Using live unit tests

  • Using IntelliTest to generate unit tests ...

Get Getting Started with Visual Studio 2019: Learning and Implementing New Features 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.