[Wtr-general] how to test e-mail applications
Zeljko Filipin
zeljko.filipin at gmail.com
Tue May 30 11:01:46 EDT 2006
As many web applications do, one that I am testing also sends e-mails. Also,
it can receive e-mails.
I started testing e-mail functionality. I found Net::SMTP (
http://www.ruby-doc.org/stdlib/libdoc/net/smtp/rdoc/index.html) for sending
and Net::POP3 (
http://www.ruby-doc.org/stdlib/libdoc/net/pop/rdoc/classes/Net/POP3.html)
for receiving. They both work just fine.
I also found RubyMail (http://www.lickey.com/rubymail/) and TMail (
http://i.loveruby.net/en/projects/tmail/) that should make my testing easier
(parsing e-mails mostly).
But...
I could not install Tmail because I have problems with C compiler.
RubyMail does not recognize body of e-mails I am testing with: message.from,
message.to and message.subject returns strings that I need, but
message.bodyalways returns nil.
I will try to contact authors of Tmail and RubyMail. I also started making
my own ruby application for sending, receiving and parsing e-mails (my first
TDD project!).
I just wanted to ask if somebody has any experience with testing e-mail part
of your (mostly web) applications and can suggest some tools? Thanks.
Željko
--
http://www.testingreflections.com/blog/3071
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20060530/a384c445/attachment.html
More information about the Wtr-general
mailing list