On 5/6/07, pcberg <[EMAIL PROTECTED]> wrote:
http://appfuse.org/display/APF/Services took me through an example of using jMock but also shows how to use EasyMock. My reaction is that EasyMock's code looks cleaner. I don't have experience with either tool though (or for that matter with Mock objects in general). What is the reason for the page showing both methods? If I'm starting a new project, do you have a recommendation which one I should use?
The reason for showing both methods is probably because AppFuse supports jMock out of the box, but the author who wrote this tutorial liked EasyMock better. The AMP plugin generates jMock tests by default for the ManagerTests. Maybe we should make it an option to generate EasyMock tests instead? This probably wouldn't be too hard to add. Matt
thanks again, Philip -- View this message in context: http://www.nabble.com/jMock-v.s.-EasyMock--tf3701270s2369.html#a10350326 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- http://raibledesigns.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
