Skip to content

Engine which simulates your exact Dynamics 365/CRM instance locally including all of it's logic!

License

Notifications You must be signed in to change notification settings

delegateas/XrmMockup

Repository files navigation

XrmMockup Appveyor build status NuGet Pre Release Join the chat at https://gitter.im/delegateas/XrmMockup

XrmMockup is a tool which simulates your exact Dynamics 365/CRM instance locally including all of its logic in the form of workflows, plugins, and the security model.

This means you can write tests towards XrmMockup as though it was the real CRM instance, and check that it behaves as expected with all of your customizations.

You can test (and debug!) the entirety of the functionality you have implemented in your CRM system, with all the plugins and workflows automatically being run inside your test cases if necessary -- along with all the standard out-of-the-box CRM logic.

Find more in-depth information and examples in the wiki.

Features

  • Simulates a target Dynamics 365/CRM instance by reading a local copy of its metadata.
  • Supports executing most of the standard requests via an IOrganizationService.
  • Automatically executes plugins and workflows during requests which trigger them.
  • Enforces the security model of CRM, thus allowing you to test your security roles and business unit setup.
  • Enables changing the time of the internal clock of XrmMockup during tests, which enables testing of time-based events (i.e waiting workflows or other time-sensitive business logic).