Instead, what you should probably do is take a look at our Unit
Testing guide and mock/stub your way through XMPP:
http://code.google.com/appengine/docs/java/tools/localunittesting.html
(I guess there are no code samples for XMPP unit testing, we'll have
to add those at some point in the future).
> --
> You received this message because you are subscribed to the Google Groups "Google App Engine" group.
> To post to this group, send email to google-a...@googlegroups.com.
> To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
>
>
--
Ikai Lan
Developer Programs Engineer, Google App Engine
http://googleappengine.blogspot.com | http://twitter.com/app_engine
"When an app running in the development server sends an XMPP message,
the fields of the message are printed to the console, and no message
is sent. The development server cannot send XMPP messages on behalf of
the app."
http://code.google.com/appengine/docs/python/xmpp/overview.html#Sending_Instant_Messages
(same goes for the java page)
as ikai has suggested, it may be possible if you implemented an
XMPP/Jabber server in your dev environment and hooked it up to the
development SDK.
has anyone done this by any chance or able to create robust mock
objects adequate enough to test the XMPP service?
-- wesley
ps. yes, i confirmed that it only posts msgs to the console in the dev env
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
"Core Python Programming", Prentice Hall, (c)2007,2001
"Python Fundamentals", Prentice Hall, (c)2009
http://corepython.com
wesley.j.chun :: wesc...@google.com
developer relations :: google app engine
http://code.google.com/p/typhoonae/
T
On Mar 27, 4:02 pm, "Wesley C (Google)" <wesc+...@google.com> wrote:
> i don't believe there is any way to test XMPP in either Java or Python
> from the development server. here is the quote from the documentation:
>
> "When an app running in the development server sends an XMPP message,
> the fields of the message are printed to the console, and no message
> is sent. The development server cannot send XMPP messages on behalf of
> the app."
>
> http://code.google.com/appengine/docs/python/xmpp/overview.html#Sendi...
> (same goes for the java page)
>
> as ikai has suggested, it may be possible if you implemented an
> XMPP/Jabber server in your dev environment and hooked it up to the
> development SDK.
>
> has anyone done this by any chance or able to create robust mock
> objects adequate enough to test the XMPP service?
>
> -- wesley
>
> ps. yes, i confirmed that it only posts msgs to the console in the dev env
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> "Core Python Programming", Prentice Hall, (c)2007,2001
> "Python Fundamentals", Prentice Hall, (c)2009
> http://corepython.com
>
> wesley.j.chun :: wesc+...@google.com