This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Testing and the fly likes Junit Recipes/ in action Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Testing
Bookmark "Junit Recipes/ in action" Watch "Junit Recipes/ in action" New topic
Author

Junit Recipes/ in action

marco borsato
Ranch Hand

Joined: Aug 30, 2004
Posts: 55
Which book to buy - Junit Recipes or Junit in action? I am looking for a book that covers a broad number of topics, but also extensive coverage of Ant.

Thanks
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
"JUnit in Action" is definitely a more "complete" title with regard to JUnit since J.B.'s "JUnit Recipes" is a "cookbook" type of work which doesn't really aim to teach you JUnit basics.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Daniel Mayer
Ranch Hand

Joined: Sep 09, 2004
Posts: 103
Both are silent on testing Swing applications, though. If that subject matters to you, "Unit Tests with Java" by Johannes Link might be worth a look. It doesn't discuss Ant, though.
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
I am looking for ... extensive coverage of Ant.

Perhaps you'd want a book on Ant, then.

"JUnit Recipes" does briefly cover running JUnit tests with Ant, and it includes a handful of example Ant targets that come in handy in various situations.

"Pragmatic Unit Testing" is not the cookbook that "JUnit Recipes" is. Instead, it includes sound advice on how to think about unit testing. I recommend reading it, especially if unit testing a new practice for you.

Getting comfortable using Ant isn't difficult. If you've a question about using it - like, "How do I run all my JUnit tests with Ant?" - I'd recommend moseying on over to the "Ant and Other Build Tools" forum, and asking away.


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Junit Recipes/ in action
 
Similar Threads
Any new ideas in using JUnit in the book?
JUnit Books
which unit testing book??
Both from Manning! the difference between JUnit in Action and JUnit Recipes
JUnit