https://github.com/delegateas/xrmmockup
Engine which simulates your exact Dynamics 365/CRM instance locally including all of it's logic!
https://github.com/delegateas/xrmmockup
csharp dynamics-365 dynamics-crm mockup simulation-engine testing unit-testing
Last synced: 12 days ago
JSON representation
Engine which simulates your exact Dynamics 365/CRM instance locally including all of it's logic!
- Host: GitHub
- URL: https://github.com/delegateas/xrmmockup
- Owner: delegateas
- License: mit
- Created: 2017-05-24T08:56:02.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2026-03-04T08:15:51.000Z (14 days ago)
- Last Synced: 2026-03-04T14:19:34.755Z (14 days ago)
- Topics: csharp, dynamics-365, dynamics-crm, mockup, simulation-engine, testing, unit-testing
- Language: C#
- Homepage:
- Size: 36.5 MB
- Stars: 81
- Watchers: 21
- Forks: 32
- Open Issues: 64
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# XrmMockup
[](https://github.com/delegateas/XrmMockup/actions/workflows/ci.yml)


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](https://github.com/delegateas/XrmMockup/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).