[appengine-java] Re: Datastore integration tests with JPA

2010-03-15 Thread objectuser
I created a new post to show how things now work with SDK 1.3.1 in the context of Spring in case you're interested. But, really the essential information is in David's post above. If you're not using Spring, it won't help. :) http://objectuser.wordpress.com/2010/03/15/google-app-engine-testing-w

[appengine-java] Re: Datastore integration tests with JPA

2010-03-15 Thread hans
Thanks a bunch David, I'll give that a try right away. I suppose I just didn't connect the dots in this case :) On Mar 15, 8:23 pm, David Fuelling wrote: > Testing your JPA isn't much different than testing the low-level > Datastore service.  Just create a JUnit test-case and add a "helper" > obj

[appengine-java] Re: Datastore integration tests with JPA

2010-03-15 Thread David Fuelling
Testing your JPA isn't much different than testing the low-level Datastore service. Just create a JUnit test-case and add a "helper" object that gets initialized with every test, just like they show here: https://code.google.com/appengine/docs/java/tools/localunittesting.html#Writing_Datastore_Te