Creating Unit Tests for Xamarin Forms Apps

Sign in to queue

Description

This video will walk you through creating Unit Tests for Xamarin Forms apps. To make it easy to unit test the app, this demo uses MVVM design pattern to ensure separation of logic code from UI code.

The discussed concepts are:

1) Unit Test template in Visual Studio

2) TestClass and TestMethod attributes

3) Naming conventions

4) Arrange, Act and Assert

5) Test Explorer

6) MVVM

Tags:

C#, MVP, MVVM, Test, Xamarin

Embed

Download

Download this episode

The Discussion

  • User profile image
    dbnex14

    Hi Houssem and thanks for this great lecture. I have a question tought.
    I am new to Xamarin.Forms and to Unit Testing, too. How would this change if you used Shared Project instead of Portable Class Library?
    Thanks

Add Your 2 Cents