[jifty-devel] Testing Notification code

Nelson Elhage nelhage at bestpractical.com
Wed Feb 7 10:16:55 EST 2007


When you are running a Jifty application in a test, Jifty inserts a
test configuration that installs a mailer that will ``send'' emails to a
list in Jifty::Test. (See L<Jifty::Test/messages>). So, if you expect
your application to have sent a notification, you can check this list to
see if it's there. 

Does that do what you're looking for?

- Nelson

On Wed, Feb 07, 2007 at 09:59:45AM -0500, Henry Baragar wrote:
> Hello all,
> 
> What is the recommended way to test code using Jifty::Notification?  Is there 
> an equivalent to Jifty::Test::WWW::Mechanize?
> 
> Regards,
> Henry
> _______________________________________________
> jifty-devel mailing list
> jifty-devel at lists.jifty.org
> http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel


More information about the jifty-devel mailing list