Hi Didier,

Yes, the documentation could be updated to cover all the services
available for local testing, that can't hurt :-)

I always make sure to read the JavaDoc, as I know the documentation is
often non-exhaustive.

By the way, I opened an issue recently for adding support for
Namespace and Capabilities in the testing support. Both are currently
missing.
So you can really test how your application behaves in a multi-tenancy
scenario, or when a service goes down:
http://code.google.com/p/googleappengine/issues/detail?id=3821&can=4&colspec=ID%20Type%20Status%20Priority%20Stars%20Owner%20Summary%20Log%20Component

Please don't hesitate to star the issue ;-)

The issue mentions the Capabilities service, but I added a comment for
the Namespace support too.

Guillaume


On Wed, Oct 13, 2010 at 13:53, Didier Durand <[email protected]> wrote:
> Hi Guillaume,
>
> Thanks a lot for the pointer to the javadoc at
> http://code.google.com/appengine/docs/java/tools/localunittesting/javadoc/com/google/appengine/tools/development/testing/LocalBlobstoreServiceTestConfig.htmle.google.com/appengine/docs/java/tools/localunittesting/javadoc/com/google/appengine/tools/development/testing/LocalBlobstoreServiceTestConfig.html
>
> I just read the developper doc for LocalTesting and didn't find any
> parag about Blobstore and so deduced (wrongly) that I had nothing to
> do.  When I saw javadoc, it became clear that I had to do the same
> kind of init I am used to for datastore.
>
> When initialized properly, my junit tests work fine.
>
> BTW, don't you think that the dev doc should be updated to also
> mention Blobstore service ?
>
> Thanks again (Merci beaucoup! ;-) )
> didier
>
> On Oct 13, 11:12 am, Guillaume Laforge <[email protected]> wrote:
>> In your test case, are you using the testing 
>> support?http://code.google.com/intl/fr-FR/appengine/docs/java/tools/localunit...
> te rt
>> I've used it in the past for the datastore and memcache, but I've not
>>
> [...]

-- 
Guillaume Laforge
Groovy Project Manager
Head of Groovy Development at SpringSource
http://www.springsource.com/g2one

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to