Zhongchen Zhou's Dynamics CRM Tips, Tricks and Portal Development Blog contains tips and tricks I discovered during my work which I want to share with other CRM Administrators and Developers. It also contains article series introducing how to use assemblies (microsoft.xrm.client.dll & microsoft.xrm.portal.dll) and portalbase solution to help creating portal Web pages that interact with Microsoft Dynamics CRM.
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.
Part 1: Introduction and Series Contents
Part 2: Microsoft Fakes with LINQ query, OrganizationServiceContext and CrmOrganizationServiceContext
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