Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Creating mock objects in JUnit testing

 
Jean Miles
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am interested what is the best way to create mock objects and use them in JUnit testing. I would like to use ANT to run the JUnit tests, does book cover automating test cases???
 
Vincent Massol
Author
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Jean Miles:
I am interested what is the best way to create mock objects and use them in JUnit testing. I would like to use ANT to run the JUnit tests, does book cover automating test cases???

Yep. There are about 6 chapters covering mock objects. Chapter 5 explains how to automate JUnit tests using Ant, Maven and Eclipse. Then, there are at least 3 chapters showing it in action on different projects.
-Vincent
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic