-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Serverless computing in Azure with .NET
By :

In the following sections, we will cover the functions testing. We will focus, primarily, on Unit and Integration testing. These tests can be run locally on the development machine, or run automatically by continuous integration tools.
When developing unit tests, C# developers, typically, leverage one of the unit testing frameworks, such as NUnit, XUnit, or MSTest. Testing frameworks make it easy to perform common tasks such as creating new tests, running groups of tests, and reviewing the test run summary.
This book will leverage MSTest, which is fully integrated with Visual Studio.
A common approach to writing tests can be called AAA, which stands for Arrange -> Act -> Assert. With this approach, each test case is structured as follows: