• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

DynaMocks and JMocks

 
Ranch Hand
Posts: 1759
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Where would be the best place to learn from scratch about DynaMocks and JMocks ? They seem to originate from Open Source projects.
[ August 20, 2004: Message edited by: Helen Thomas ]
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The "official" documentation for all dynamic mock objects libraries is pretty non-existent. In my opinion, the EasyMock documentation is the best.

Then, of course, you can always buy a unit testing book that discusses mock objects and most probably introduces one or two dynamic mock objects libraries along the way.
 
Helen Thomas
Ranch Hand
Posts: 1759
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Lasse Koskela:

Then, of course, you can always buy a unit testing book that discusses mock objects and most probably introduces one or two dynamic mock objects libraries along the way.



Thanks Lasse. Which books would you recommend ? I didn't spot any on your Review list.
[ August 20, 2004: Message edited by: Helen Thomas ]
 
Lasse Koskela
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Helen Thomas:
Which books would you recommend ? I didn't spot any on your Review list.

At least Dave Astel's Test Driven Development: A Practical Guide includes a handful of pages about EasyMock.
 
author
Posts: 14112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
For a general introduction into mock objects, I'd recommend "Unit Testing in Java: How Tests Drive the Code". It doesn't really discuss existing frameworks, though.

I don't think any of the books discusses jMock in detail.
 
Helen Thomas
Ranch Hand
Posts: 1759
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Lasse and Illja.

In addition I found these two links.

jMock doco
mockobjects.com
 
Power corrupts. Absolute power xxxxxxxxxxxxxxxx is kinda neat.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic