See: Description
Class | Description |
---|---|
LocalDatastoreHelper |
Utility to start and stop local Google Cloud Datastore emulators.
|
RemoteDatastoreHelper |
Utility to create a remote datastore configuration for testing.
|
A simple usage example:
Before the test:
LocalDatastoreHelper helper = LocalDatastoreHelper.create();
helper.start();
Datastore localDatastore = helper.getOptions().getService();
After the test:
helper.stop();
Copyright © 2019 Google LLC. All rights reserved.