The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

balia (5) [Avatar] Offline
#1
Hi Chris,

I am using at present JUnit, and came accross JMock,
do you use, do you think it helps, developing the tests first,

Thanks,

Best Regards,

Abdenour.
ceracm (113) [Avatar] Offline
#2
Re: JMock
Many of the tests in my book use JMock and it definitely can be useful for TDD.

However, if you are using Java5 you might want to look at EasyMock2: http://www.easymock.org/

It eliminates the need for method names as Strings.

Chris