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
The LIKE query operator is faked to call a limited set of string methods, and it does not implement the full syntax allowed by a real organization service. In a...
This issue fixed for RetrieveRequest, UpdateRequest and DeleteRequest https://github.com/jordimontana82/fake-xrm-easy/issues/344 However, I need the Associate Request. I am using the Associate Request to link two records, with Alternative Keys. It is...
I'm testing some code which makes a RetrieveEntityRequest and then querys the attribute metadata for the IsPrimaryName property of each attribute. I'm using early bound classes, initialising the metadata before...
Model driven apps generate FetchXML that looks like this for quick find queries: ``` ``` In Dynamics 365, this will match all account records that are: owned by the user...
Hello Jordi, steps registered in PreValidation do not get called when PipelineSimulation property is true. The following test should fail in my case because `ContactPlugins.Update.PreValidation.EnsureIsNotPrimary` plugin needs a `PreImage` that...
Hello Jordi, we should add an overload to [RegisterPluginStep](https://github.com/jordimontana82/fake-xrm-easy/blob/5531248d7e9dc2a112b17735e0bf5939e974d342/FakeXrmEasy.Shared/XrmFakedContext.Pipeline.cs#L24-L32) where you can pass the plugin instance similar to [ExecutePluginWith](https://github.com/jordimontana82/fake-xrm-easy/blob/5531248d7e9dc2a112b17735e0bf5939e974d342/FakeXrmEasy.Shared/XrmFakedContext.Plugins.cs#L125-L139). This way we can test if a plugin fired or not...
When loading plugin type, check whether the plugin assembly is already loaded in the current AppDomain instead of calling AppDomain.Load right away. This prevents AppDomain.Load from failing in cases when...
Hi, I'm currently trying to use XrmRealContext for integration test against a Dynamics Online environment. Some of my plugin uses two organization service, one created with current user Guid (with...
"Node no-attrs is not a valid FetchXml node or it doesn't have the required attributes." This Node is used when user dont want fetch XML to return any attribute.
The checking in XrmFakedContext.Aggregations.cs against IsNullOrEmpty is for a literal string, rather than the variable, which causes exception to never fire, e.g. ```c# if (string.IsNullOrEmpty("alias")) { throw new Exception("Missing alias...