Skip to content

The testing framework for Dynamics CRM and Dynamics 365 which runs on an In-Memory context and deals with mocks or fakes for you

License

Notifications You must be signed in to change notification settings

AxelPajot/fake-xrm-easy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Build Line Coverage Branch Coverage
Build status Line coverage Branch coverage

Streamline unit testing in Dynamics CRM by faking the IOrganizationService to work with an in-memory context.

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

Version NuGet
Dynamics v9 Nuget
Dynamics 365 Nuget
Dynamics CRM 2016 Nuget
Dynamics CRM 2015 Nuget
Dynamics CRM 2013 Nuget
Dynamics CRM 2011 Nuget

Supports Dynamics CRM 2011, 2013, 2015, 2016, and Dynamics 365 (8.x and 9.x). NOTE: With the release of Dynamics 365 v9 we are changing the naming convention for new packages to match the major version.

Getting Started

NEW! Check out video tutorials about how to use Fake Xrm Easy starting here.

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

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

Contributing

Please consider the below guidelines for contributing to the project:

  • Provide a unit test to reproduce any issues detected where possible.
  • Attach all generated early bound typed entities required (if you're using early bound).
  • 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

  • TODO: Add support for date operators. See ConditionOperator implementation status here. Feel free to add missing ones!
  • TODO: Implement remaining CRM messages. To know which ones have been implemented so far, see FakeMessageExecutor implementation status here.
  • TODO: Increase test coverage.

Backlog

FetchXml implementation:

  • DONE: Add support for arithmetic operators
  • DONE: Add support for FetchXml aggregations

Tests disappeared?

Try deleting anything under the VS test explorer cache: %Temp%\VisualStudioTestExplorerExtensions

About

The testing framework for Dynamics CRM and Dynamics 365 which runs on an In-Memory context and deals with mocks or fakes for you

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 68.5%
  • HTML 31.3%
  • Other 0.2%