Hi Nige, The closest you can probably come is to start the dev_appserver in a separate thread in the same process. Why is it important that it be running in the same process for your test, though? Are you sure you need the entire dev_appserver, and can't just emulate a WSGI environment?
-Nick Johnson On Thu, Jun 24, 2010 at 9:39 PM, Nige <[email protected]> wrote: > Hi, > > I'm writing an integration test. I'd like to start the dev app server > in the same process as my test. What's the best way to do that? > > I've tried this: > KickStart.main(new String[] > {"com.google.appengine.tools.development.DevAppServerMain", "--port=" > + PORT, "--address=" + HOST, "war" }); > but it seems to start the dev app server in another process. > > Thanks, > Nige > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-appengine%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > > -- Nick Johnson, Developer Programs Engineer, App Engine Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number: 368047 Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number: 368047 -- You received this message because you are subscribed to the Google Groups "Google App Engine" 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?hl=en.
