Overview

Introduction

The Unit and Integration Testing module provides you with the instructions and devices to develop your hands on skills in the following topics.

  • Creating and running unit tests in Visual Studio 2013
  • Integrating units to perform integration testing

Exercise 1 - Creating and Running Unit Test

Unit testing is a software development process in which the individual units of source code of an application such as functions, interfaces, or classes are tested. Integration testing occurs after unit testing, wherein the individual software units are combined and tested as a group. You can automate unit testing and integration testing using the tools provided in Visual Studio 2013.

In this exercise, you will create and run unit and integration test for a simple console application in Visual Studio 2013.

Exercise 2 - Integrating Unit Test Cases

An integration test checks the functionality of the entire application with all its dependencies. In this exercise, you will combine program units of ConsoleApplication1 project and test as group.

Comprehensive Learning

See the full benefits of our immersive learning experience with interactive courses and guided career paths.