CrmSdk.UnitTesting

A unit testing framework, built on Moq, for Microsoft Dynamics 365 CE


Keywords
mocking, mocks, unittesting, unittest, xrm, dynamics, dynamics-365, dynamics-365-customer-engagement, dynamics-crm, dynamics-crm-online, dynamics365, moq, moq-framework, unit-testing
License
GPL-2.0-only
Install
Install-Package CrmSdk.UnitTesting -Version 1.0.0

Documentation

Microsoft.CrmSdk.UnitTesting

A framework, built on Moq, for performing Unit Testing against a Microsoft Dynamics 365 CE organization

Overview

Built on the widely supported Moq framework, this project is intended to enable developers to rapidly create unit test fixtures for Plugins, Workflows and other code that is reliant on the Microsoft Dynamics 365 CE SDK.

Usage

Installation

A NuGet package is available for installing & using this framework here: https://www.nuget.org/packages/Microsoft.CrmSdk.UnitTesting/

Examples

I'm in the process of writing an examples project to demonstrate how to use this package, please check back soon.