Skip to content
The testing framework for Dynamics CRM which runs on an In-Memory context and deals with mocks or fakes for you
Branch: master
Clone or download
Pull request Compare This branch is 510 commits behind jordimontana82:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.nuget
.vs/config
DevToolkitSamples
FakeXrmEasy.2013
FakeXrmEasy.2015
FakeXrmEasy.2016
FakeXrmEasy.365
FakeXrmEasy.Shared
FakeXrmEasy.Tests.2013
FakeXrmEasy.Tests.2015
FakeXrmEasy.Tests.2016
FakeXrmEasy.Tests.365
FakeXrmEasy.Tests.Shared
FakeXrmEasy.Tests
FakeXrmEasy
Install-scripts
packages
test/reports
tools/nuget
.gitattributes
.gitignore
00_boot.bat
01_boot_and_build.bat
01_boot_and_build_debug.bat
02_build.bat
FakeXrmEasy.2011.nuspec
FakeXrmEasy.2013.nuspec
FakeXrmEasy.2015.nuspec
FakeXrmEasy.2016.nuspec
FakeXrmEasy.365.nuspec
FakeXrmEasy.sln
LICENSE.md
README.md
System.Activities.dll
System.ServiceModel.Internals.dll
build.fsx
build_log.txt
combined.js
fakexrmeasy.snk
xunit.dll

README.md

Fake Xrm Easy: TDD for Dynamics CRM and Dynamics 365 made simple

Build Line Coverage Branch Coverage
Build status Line coverage Branch coverage
Version NuGet
Dynamics 365 Nuget
Dynamics CRM 2016 Nuget
Dynamics CRM 2015 Nuget
Dynamics CRM 2013 Nuget
Dynamics CRM 2011 Nuget

The framework to streamline unit testing in Dynamics CRM by faking the IOrganizationService to work with an In-Memory context.

The framework supports Dynamics CRM 2011, 2013, 2015, 2016 and Dynamics 365.

Drive your development by unit testing any plugin, code activity, or 3rd party app using the OrganizationService easier & faster than ever before.

##Getting Started

NEW! Check out video tutorials about how to use Fake Xrm Easy. First one [here] (https://www.youtube.com/watch?v=ZLQ2o2P_xJY)

For a general overview of the framework and samples please refer to this link.

If you have any kind of questions, or anything you would like to discuss, please do not hesitate to send me an email and I'll be happy to discuss.

##Donate

We won't ask you for any PayPal or similar donations. Seriously.

Instead, if you are using this framework on a regular basis, and is making your life as CRM developer easier, I would really appreciate if you could spend 5 minutes of your time to nominate me as a CRM MVP, given that I spent 2 years on this project! :).

Please reach out on my linkedin profile for that. Thank you!

##Contributing

Please consider the below guidelines for contributing to the project:

  • If you detect and raise any issues, they will be resolved much more quickly if you provide a unit test to reproduce the issue.
  • If you are using early bound entities (and I strongly encourage you to do so), please also attach a subset of your typed entities generated file so that it will speed up the issue resolution.
  • Finally, if you are able to even fix the issue yourself, which would be awesome, please do fork the project and submit a pull request. We'll thank you forever and ever.

##Roadmap / Backlog

  • FetchXml implementation:
  • DONE: Add support for arithmetic operators
    
  • DONE:  Add support for FetchXml aggregations
    
  • TO DO:  Adding support for date operators...
    
  • TODO: Implement generic handling of not yet implemented messages (ideally, for many of them we'll just need to check how they were called, i.e. calculaterolluprequest)
  • Increase test coverage
You can’t perform that action at this time.