.NET Core and More

TH19 Getting Started with Unit Testing in Visual Studio


3:00pm - 4:15pm

Level: Introductory to Intermediate

Paul Sheriff

Author / Instructor

Everyone knows that they should be writing unit tests for their applications, but how many of us really do it? In Visual Studio unit testing is an integrated part of the development environment. There is no longer any reason to avoid not doing test driven development and automated unit testing. In this session you will be introduced to the basics of unit testing, how to run tests, and how to reduce the number of tests by taking advantage of data-driven tests. You will then see an example of how to architect your applications to make testing quicker and easier. At the end of this session you will walk away with the knowledge you need to start automating the testing of your applications.

You will learn:

  • How to start unit testing
  • Create your first unit tests
  • Create data-driven unit tests