fake-xrm-easy
fake-xrm-easy copied to clipboard
The testing framework for Dynamics CRM and Dynamics 365 which runs on an In-Memory context and deals with mocks or fakes for you
Hello everybody, I develop a CWA with VS2019 latest update then I create the Unit Test following the FakeCrmEasy the Unit Test Start but then it stops(no results displayed); I...
Hello! I'm trying to test the context specifics of the plugin by simulation Create and Delete event for an entity. But my plugin step is not triggered. ```cs var accountToDelete...
I have a list of custom entities of which some could have a statecode. And I need to create them with an execute multiple. But having a statecode while creating...
ThisFiscalYear = 58, // // Summary: // The value is within the current fiscal period. Value = 0x3b. ThisFiscalPeriod = 59, // // Summary: // The value is within the...
I have a code activity that communicates with a Service Endpoint. When I write a fake to try and get the endPointService I use the following code. ``` C# IServiceEndpointNotificationService...
When executing an AssignRequest the OwningBusinessUnit will not be promoted. ``` c# _service.Execute(new AssignRequest { Assignee = _schoolTwoBrandTwoOrgTeam.ToEntityReference(), Target = target.ToEntityReference() }); ```
On[ SDK documentation](https://docs.microsoft.com/en-us/dynamics365/customer-engagement/developer/understand-data-context-passed-plugin#input-and-output-parameters) it is said that for example with Delete message Target of InputParameters is EntityReference. I've seen on few occasions developers forgetting this when implementing unit tests and...
Is it possible to register plugin steps and have them execute on the creation of records? eg, create contact and have the fake CRM call any pre / post steps...
Hi, Another "attribute related" issue I guess :) Found nothing while googling... I'm using early-bound types and getting the "**System.InvalidOperationException: The requested key attributes do not exist for the entity...
Hi I'm having an issue where I seemingly cannot query one-to-many relationships. Here's my setup: ```cs FakedContext = new XrmFakedContext { ProxyTypesAssembly = Assembly.GetAssembly(typeof(DynamicsServiceContext)) }; FakedContext.InitializeMetadata(Assembly.GetAssembly(typeof(DynamicsServiceContext))); ``` ...and my test...