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.
Description: Added a new feature that allows dumping a snapshot to disk and restoring it back later.
Example use
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.