XrmDefinitelyTyped icon indicating copy to clipboard operation
XrmDefinitelyTyped copied to clipboard

Documentation and/or Examples of how to combine xrm-mock and XrmDefinitelytyped.

Open filcole opened this issue 4 years ago • 2 comments

A good (best) mocking framework for the client side Xrm.* code, perhaps in combination with FakeXrmEasy-Js for Xrm.WebApi.*

Instruction/Documentation for how to combine form scripts created using XrmDefinitelyTyped with a mocking framework, such as xrm-mock would be awesome. Especially how to avoid clashes between the static @types/xrm and @XrmDefinitelyTyped typings.

filcole avatar Aug 06 '19 20:08 filcole

It's been mentioned in other issues, but for good measure: At the moment, I'm not aware of anyone from Delegate who implement test of client side code, based on the argument that client-side code ought to be simple enough to not warrant the effort.

That doesn't mean client-side code shouldn't be tested - it's just not prioritized our side.

misoeli avatar Jun 11 '21 08:06 misoeli

Hi. I know this question is quite old but I am on the same scenario (XrmDefinitivelyTyped/xrm-mock) and I was wondering if meantime there is something new that makes possible to use XrmDefinitivelyTyped with an xrm-mocking framework. Thanks in advance.

danielejdm avatar Dec 21 '21 10:12 danielejdm