Unit testing custom Microsoft Dynamics CRM code – Part 6 (plug-ins)

In my last post, I showed how to unit test a Microsoft Dynamics CRM custom workflow activity using Visual Studio and Moq. In this post I will show you how to unit test a Dynamics CRM plug-in. For this example we'll be using the sample FollowupPlugin class in the CRM »

Unit testing custom Microsoft Dynamics CRM code – Part 5 (custom workflow activities)

In the last three posts of this series, I showed how to unit test Microsoft Dynamics CRM C# interfaces code with mock objects using Visual Studio 2012 and Moq. In this post, I will show how to unit test custom workflow activities that are executed by Dynamics CRM processes. I »

Unit testing custom Microsoft Dynamics CRM code – Part 4 (using a wrapper class)

In parts two and three of this series, I gave an introduction to unit testing Dynamics CRM C# interfaces code with mock objects using Visual Studio 2012 and Moq, and I showed code samples for a couple of different scenarios. In this post I will show how to work with »

Unit testing custom Microsoft Dynamics CRM code – Part 3 (intermediate interface example)

In my last post I gave an introduction to unit testing Dynamics CRM C# interfaces code with mock objects using Visual Studio 2012 and Moq. The sample code in that post was extremely simple, so I wanted to follow up with a more complex example that shows how to test »

Unit testing custom Microsoft Dynamics CRM code – Part 2 (simple interface example)

In my last post I explained why you should unit test your Dynamics CRM-facing code using frameworks to handle both testing automation and mock objects. In this post, I'm going to provide an overview of how to get started. As I mentioned last time, we'll be using the unit testing »

Unit testing custom Microsoft Dynamics CRM code – Part 1 (series introduction)

When writing custom code that interacts with Microsoft Dynamics CRM, it is important to: Unit test your code Use an automated unit testing framework to automate your unit tests Write unit tests that do not depend on external resources such as a Microsoft Dynamics CRM application server or SQL Server »

A Better Dynamics CRM E-mail Editor With TinyMCE (updated for IE8 and 9)

When I developed the JavaScript for my A Better Dynamics CRM E-mail Editor With TinyMCE post back in June, I tested it in both Chrome and IE10. Since then I have gotten a few reports of it not working in IE8 or IE9. Initially, I thought there might be a »

Diesel Xrm Service Wrapper Now on GitHub

Last week I wrote a post called "Introducing the Diesel Xrm Service Wrapper," in which I presented a generic WCF wrapper for the Dynamics CRM Organization Service. Almost immediately I had several ideas about updates I wanted to make, so I've decided to host the project on GitHub. The project »