|
From: David S. <da...@sa...> - 2008-10-13 10:27:33
|
[bcc: junit-devel, +ju...@ya...] Anil, 1) Mocking frameworks like jMock are useful for just this kind of interaction testing. 2) Questions about the use of junit are better asked on the user list (ju...@ya...). Good luck, David Saff On Sun, Oct 12, 2008 at 11:44 PM, <ani...@wi...> wrote: > Hi, > > Can we throw an exception to the main class from my test class? > We have a few catch statements in our main class, to test them we need to > send those exceptions from test class, so is there any way? > > > Regards, > Anil > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Junit-devel mailing list > Jun...@li... > https://lists.sourceforge.net/lists/listinfo/junit-devel > > |