delegateas / XrmMockup

Engine which simulates your exact Dynamics 365/CRM instance locally including all of it's logic!
Other
71 stars 28 forks source link

Implemented Snapshot to file feature #204

Closed tvbirch closed 2 years ago

tvbirch commented 2 years ago

Description: Added a new feature that allows dumping a snapshot to disk and restoring it back later.

Example use

crm.TakeZipSnapshot("myMockDump");
crm.ResetEnvironment();
crm.RestoreZipSnapshot("myMockDump");

Motivation On a specific project we need to generate a large base dataset before running unittest. This was time consuming when debugging as the assemly initalization took multiple minutes. By allowing users of the mock to generate the data set, then dump it to disk and restore it before running each test, this setup time is almost eliminated.

misoeli commented 2 years ago

Included in 1.10.0