Before you start
This is a testing class. To complete the coding exercises, you will need a Xamarin development environment with a simulator or emulator to run the exercise on. Please read the setup requirements if you need help installing the Xamarin development environment.
Overview
This class introduces the student to testing with Visual Studio and NUnit.
Objectives
- Describe the importance of testing
- Compare the types of tests and create unit tests with NUnit
Lecture
XTC101 - Introduction to Testing.
Exercises
Exercise materials are available from GitHub. The code can be cloned through a desktop Git client or downloaded directly as a ZIP file.
- Creating Unit TestsExercise
In this demonstration, you will learn the how to create unit tests and how to understand the unique aspects of testing mobile apps. - Creating unit, regression and integration testsExercise
In this exercise, you will understand how to create unit tests with NUnit, how to name and structure them as well as best practices.