directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henri Yandell <flame...@gmail.com>
Subject Re: [naming] Mail factory tests
Date Fri, 24 Dec 2004 02:16:18 GMT
Isn't that what Dumbster is being used for in Commons Email?

Hen

On Thu, 23 Dec 2004 20:17:21 -0500, Vincent Tence <vtence@videotron.ca> wrote:
> Another option is to use dynamic mocks. I'd recommend jmock
> 
> http://jmock.org
> 
> - Vincent
> 
> Phil Steitz wrote:
> > Brett Porter wrote:
> >
> >> Probably a couple of things. I don't remember the name of the library,
> >> but there is a mock implementation of javamail that could be used to
> >> pretend to send mail, but not actually do it.
> >>
> >> I guess the other alternative is to embed something like James?
> >>
> >> Do you really need to send a mail to test it, or is obtaining a valid
> >> session enough?
> >
> >
> > Gettting a Session / MimePartDataSource is probably good enough. I will
> > see if I can find the mock javamail impl.
> >
> > Phil
> 
>

Mime
View raw message