Re: using <at> Mock
Steve Freeman <
steve@...>
2010-10-22 08:28:03 GMT
Also, have you remembered to use the <at> RunWith(JMock) annotation?
glad you liked it.
S
On 22 Oct 2010, at 08:49, Julian Hall wrote:
> On 22/10/2010 01:51, David Carlton wrote:
>> The jMock documentation at <http://www.jmock.org/auto.html> says that I can use <at> Mock to create mock
objects, but that annotation isn't resolving for me; am I doing something stupid, or is the documentation
wrong for the version I'm using? (I'm using 2.5.1.)
>>
>> My apologies if this is a FAQ - the e-mail archive search ignores the <at> character, so searching for <at> Mock
turns up a lot of false positives.
>>
>> (Incidentally, I'm very pleased that I've finally started using jMock - it's made the last week and a half
of programming extremely pleasant.)
>>
> Looking at the javadocs, this appears to be a new feature in the unstable 2.6.0 release candidate.
Steve Freeman
Winner of the Agile Alliance Gordon Pask award 2006
Book: http://www.growing-object-oriented-software.com
+44 (0) 797 179 4105
M3P Limited. http://www.m3p.co.uk
Registered office. 2 Church Street, Burnham, Bucks, SL1 7HZ.
Company registered in England & Wales. Number 03689627
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email