Restoring Google App Engine Dev Datastore to a Particular State for Testing Purpose

84 Views Asked by At

I am finding it very difficult to populate the development database for recreating scenarios for testing. Is any of the following possible Google Appengine Datastore in dev environment:

  • To archive the all the models in some file and reload the same file to achieve a particular state of the database, something like db snapshot.
  • Can the datastore generate python ndb statements, for the stored data, which I can paste on the debug console to populate all my models, this is typically available in most of the traditional databases.
  • If it has anything to with language of choice, then I need this in Python.

Currently I am forced to fill the forms of my application again and again to get into a particular state.

0

There are 0 best solutions below