Typically I mock out the email sending and just make sure the right data is being passed, but there are definitely bits that can only be tested with real email. For those I usually use a staging server. In general, you want to test as much as possible with unit tests.
-- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Sat, Aug 13, 2011 at 6:45 AM, kfer38 <[email protected]> wrote: > How do you test sending out an email when running GAE project in > development mode in eclipse? Can you only test smtp online? > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine for Java" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-appengine-java/-/0rDrk3P6taIJ. > 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. > -- 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.
