C# HTML Other
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.nuget Initial commit Nov 23, 2014
.vs/config Closes #64 May 18, 2016
DevToolkitSamples Resolved build issue after merge Aug 9, 2018
FakeXrmEasy.2013 Resolved build issue after merge Aug 9, 2018
FakeXrmEasy.2015 Resolved build issue after merge Aug 9, 2018
FakeXrmEasy.2016 Resolved build issue after merge Aug 9, 2018
FakeXrmEasy.365 Resolved build issue after merge Aug 9, 2018
FakeXrmEasy.9 Resolved build issue after merge Aug 9, 2018
FakeXrmEasy.Shared Resolved build issue after merge Aug 9, 2018
FakeXrmEasy.Tests.2013 Resolved build issue after merge Aug 9, 2018
FakeXrmEasy.Tests.2015 Resolved build issue after merge Aug 9, 2018
FakeXrmEasy.Tests.2016 Resolved build issue after merge Aug 9, 2018
FakeXrmEasy.Tests.365 Resolved build issue after merge Aug 9, 2018
FakeXrmEasy.Tests.9 Resolved build issue after merge Aug 9, 2018
FakeXrmEasy.Tests.Shared Resolve merge conflict with previous PR Aug 9, 2018
FakeXrmEasy.Tests Resolved build issue after merge Aug 9, 2018
FakeXrmEasy Updated version Aug 9, 2018
Install-scripts Updated version Apr 10, 2018
packages Added implementation for associate / disassociate message and tests Feb 5, 2016
test/reports Updated version Aug 9, 2018
tools/nuget Added older nuget cmd because of issue with Fake script and Publish Jul 29, 2016
.gitattributes Initial commit to add default .gitIgnore and .gitAttribute files. Nov 23, 2014
.gitignore Ignore test folder except test reports Feb 6, 2018
00_boot.bat Switched to FAKE Feb 18, 2016
01_boot_and_build.bat Added fsx build scripts to solution Mar 4, 2016
01_boot_and_build_debug.bat Added Fake Environment variable (TO DO: move this into VSTS or else u… Jun 19, 2018
02_build.bat Switched to FAKE Feb 18, 2016
FakeXrmEasy.2011.nuspec Updated NuSpec files to use the lower revision/patch number for the s… Feb 6, 2018
FakeXrmEasy.2013.nuspec Updated NuSpec files to use the lower revision/patch number for the s… Feb 6, 2018
FakeXrmEasy.2015.nuspec Updated NuSpec files to use the lower revision/patch number for the s… Feb 6, 2018
FakeXrmEasy.2016.nuspec Updated NuSpec files to use the lower revision/patch number for the s… Feb 6, 2018
FakeXrmEasy.365.nuspec Updated NuSpec files to use the lower revision/patch number for the s… Feb 6, 2018
FakeXrmEasy.9.nuspec Updated NuSpec files to use the lower revision/patch number for the s… Feb 6, 2018
FakeXrmEasy.sln Add new reports Feb 6, 2018
LICENSE.md Update LICENSE.md May 14, 2016
README.md Updated version Apr 10, 2018
System.Activities.dll Replaced previous System.Activities, it was just the reference assemb… Apr 5, 2015
System.ServiceModel.Internals.dll Added System.ServiceModel.Internals Apr 5, 2015
build.fsx Resolved build issue after merge Aug 9, 2018
build_log.txt Added Fake Environment variable (TO DO: move this into VSTS or else u… Jun 19, 2018
combined.js Adding code coverage metrics... Aug 25, 2016
fakexrmeasy.snk Added snk. Closes #96 Oct 17, 2016
xunit.dll Added more debug info... Apr 5, 2015

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

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.

Semantic Versioning

The NuGet packages use semantic versioning like this:

x.y.z  => Major.Minor.Patch

x: stands for the major version. The package is very stable so that's why the major version didn't change yet.

y: minor version. Any minor updates add new functionality without breaking changes. An example of these would be a new operator or a new fake message executor.

z: patch. Any update to this number means new bug fixes for the existing functionality. A new minor version might also include bug fixes too.

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