Currently, you cannot access the datastore that the appengineFunctionalTests use.
This means that you cannot select a vertical slice of your process and test just that part. It also makes it harder to setup some test scenarios (eg: consider a test requiring an active user, but user activation involves a confirmation email and 2-factor authentication).
Also, the datastore is not cleared after every @Test.
I'd like to be able to use the LocalDatastoreServiceTestConfig to setup and clear down data.
How can I do this?
Currently, you cannot access the datastore that the appengineFunctionalTests use.
This means that you cannot select a vertical slice of your process and test just that part. It also makes it harder to setup some test scenarios (eg: consider a test requiring an active user, but user activation involves a confirmation email and 2-factor authentication).
Also, the datastore is not cleared after every
@Test
.I'd like to be able to use the
LocalDatastoreServiceTestConfig
to setup and clear down data. How can I do this?