Install-Package Xamarin.Forms.Mocks -Version
dotnet add package Xamarin.Forms.Mocks --version
<PackageReference Include="Xamarin.Forms.Mocks" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Xamarin.Forms.Mocks --version
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Xamarin.Forms.Mocks,"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Xamarin.Forms.Mocks as a Cake Addin
#addin nuget:?package=Xamarin.Forms.Mocks&version=

// Install Xamarin.Forms.Mocks as a Cake Tool
#tool nuget:?package=Xamarin.Forms.Mocks&version=
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Library for running Xamarin.Forms inside of unit tests

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Xamarin.Forms.Mocks:

Package Downloads

Library to write NUnit Integration Tests for Xamarin.Forms


a Xamarin forms framework base on mvvm, this package for UnitTest project


A testing library to make components testing for Xamarin.Forms easier, inspired by Testing Library, Flutter's Widget Testing and others.

GitHub repositories (11)

Showing the top 5 popular GitHub repositories that depend on Xamarin.Forms.Mocks:

Repository Stars
An advanced, composable, functional reactive model-view-viewmodel framework for all .NET platforms that is inspired by functional reactive programming. ReactiveUI allows you to abstract mutable state away from your user interfaces, express the idea around a feature in one readable place and improve the testability of your application.
Prism is a framework for building loosely coupled, maintainable, and testable XAML applications in WPF, Xamarin Forms, and Uno / Win UI Applications..
Tailwind Traders Mobile
The Mobile.BuildTools makes it easier to develop code bases in a clean, consistent, secure, and configurable way. Determine at Build which environment your app needs to run on, and what Client Secrets it should have. Plus many more amazing features!
Version Downloads Last updated 355,042 7/7/2020 4,932 5/15/2020 47,413 4/30/2020 64,223 2/9/2020 127,145 6/21/2019 76,096 3/20/2019
3.5.0 12,931 2/15/2019 109,664 5/10/2018 3,466 3/23/2018 22,271 2/11/2018 3,154 2/2/2018 22,040 1/6/2018 18,752 11/20/2017 15,073 9/29/2017 684 8/8/2017 17,758 6/27/2017 2,644 5/4/2017 815 4/15/2017 719 4/15/2017 1,350 1/18/2017 799 12/28/2016

Upgraded to netstandard2.0