xrm-mock icon indicating copy to clipboard operation
xrm-mock copied to clipboard

:books: A fake implementation of the Xrm object model. Written in TypeScript against @types/xrm definitions.

Results 19 xrm-mock issues
Sort by recently updated
recently updated
newest added

Given a connection string to a Dynamics CRM organisation and a form ID, `xrm-mock-generator` could create a fake Xrm object based on the given form. Removes the need to manually...

enhancement
discussion

Hello, I'm starting to use this for unit testing my front end code, so I need some help moving forward. I have a `Date` attribute that will make an `Xrm.WebApi.retrieveMultipleRecords`...

getVisbile, setVisible on formselector is not implemented. headersection, footersection on Ui obeject are also available. How do I write unit testing for the following implementations. **To hide the form selector:**...

The business process flow tests that I am writing need the "moveNext" function but it throws a not implemented error, I can see that not all functions are implemented How...

Hi, Our app targets Dynamics v8, so we have bunch of tests for v8 At the same time we plan to migrate to v9, so in parallel we update the...

Bumps [minimist](https://github.com/minimistjs/minimist) from 1.2.5 to 1.2.8. Changelog Sourced from minimist's changelog. v1.2.8 - 2023-02-09 Merged [Fix] Fix long option followed by single dash [#17](https://github.com/minimistjs/minimist/issues/17) [Tests] Remove duplicate test [#12](https://github.com/minimistjs/minimist/issues/12) [Fix]...

dependencies

Hi, I am trying to add an empty lookup on form using: `XrmMockGenerator.Attribute.createLookup("parentaccountid", null);` then I try to find it on form using: ``` var formContext = XrmMockGenerator.getEventContext().getFormContext(); var lookupAttribute...

Bumps [json5](https://github.com/json5/json5) from 2.1.3 to 2.2.3. Release notes Sourced from json5's releases. v2.2.3 Fix: [email protected] is now the 'latest' release according to npm instead of v1.0.2. (#299) v2.2.2 Fix: Properties...

dependencies

The following code mocks a grid control: `XrmMockGenerator.initialise(); XrmMockGenerator.Control.createGrid("ContactGrid", true, "Contacts"); ` However if the function under test is purposed to hide/show that grid the test will fail with the...