Thank you for the reply.

I'm not looking into testing actual user interaction (or JavaScript
for that matter). I have some JSP pages that output HTML with minimum
formatting, and that's what I want to test right now. The ideal
solution would be something like:
1. Create and persist a new entity of a particular type
2. Check that the entity is retrieved by a method
3. Check that the entity is visible in the UI (just parse the simple
HTML).

The question is what would be the best setup to manipulate the
datastore and request pages in the same test session?

On Apr 2, 7:53 pm, Ikai Lan <[email protected]> wrote:
> Are you looking to test the servlets or to do a full-stack integration test
> that also involves executing Javascript? I'd recommend Selenium:
>
> http://seleniumhq.org/
>
> <http://seleniumhq.org/>Just note that the more components you test in a
> single suite, the more brittle your tests will be. Selenium tests will give
> you the most confidence, but they're also the most work to maintain.
>
>
>
>
>
> On Fri, Apr 2, 2010 at 12:54 AM, Adrian B <[email protected]> wrote:
> > Is there a way to combine datastore testing with local HTTP requests
> > so that you simultaneously validate the state of the datastore and the
> > way the data is displayed to the user?
>
> > --
> > 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]<google-appengine-java%2B 
> > [email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-appengine-java?hl=en.
>
> --
> Ikai Lan
> Developer Programs Engineer, Google App 
> Enginehttp://googleappengine.blogspot.com|http://twitter.com/app_engine

-- 
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