Unit Testing

Unit Testing Dynamics CRM Plugins

A practical guide to unit testing CRM plugins without mocking every dependency, using isolation and override techniques.

The purpose of this post will be to look at the code for a fairly typical looking crm plugin, and examine how to implement a unit test with the least possible effort. Reduced Effort == Reduced Person Hours == Reduced Cost.

Remember, this is Unit Testing, not Integration testing - so at test time - there is no CRM!

Read more...