Introduction

This is the first post of a 18 part series containing collections of patterns and code fragments showing how various unit frameworks can be used in Dynamics CRM 2011 development.

Unit test with server side components, (web service, plugin, workflow), will be explained with Microsoft Fakes, Microsoft Moles, Rhino Mocks and Moq.

Unit test with client side JavaScript will be explained with QUnit.

Series Contents

Part 1: Introduction and Series Contents

  • Introduces the topics that will be covered in the series

Part 2: Microsoft Fakes with LINQ query, OrganizationServiceContext and CrmOrganizationServiceContext

  • Unit test CRM LINQ query
  • Mock OrganizationServiceContext
  • Mock CrmOrganizationServiceContext
  • Mock System.Linq namespace

Part 3: Microsoft Moles with LINQ query, OrganizationServiceContext and CrmOrganizationServiceContext

Part 4: Rhino Mocks with LINQ query, OrganizationServiceContext and CrmOrganizationServiceContext

Part 5: Moq with LINQ query, OrganizationServiceContext and CrmOrganizationServiceContext

Part 6: Microsoft Fakes with IOrganizationService

Part 7: Microsoft Moles with IOrganizationService

Part 8: Rhino Mocks with IOrganizationService

Part 9: Moq with IOrganizationService

Part 10: Microsoft Fakes with CRM plugin

Part 11: Microsoft Moles with CRM plugin

Part 12: Rhino Mocks with CRM plugin

Part 13: Moq with CRM plugin

Part 14: Microsoft Fakes with workflow activity

Part 15: Microsoft Moles with workflow activity

Part 16: Rhino Mocks with workflow activity

Part 17: Moq with workflow activity

Part 18: QUnit with client side JavaScript


Filed under: Microsoft Dynamics CRM Tagged: Microsoft Dynamics CRM