• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Junit Recipes/ in action

 
marco borsato
Ranch Hand
Posts: 55
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11962
5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"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.
 
Daniel Mayer
Ranch Hand
Posts: 103
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 7023
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic