GeeCON Prague 2014*
The moose likes Testing and the fly likes junit book Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » Testing
Bookmark "junit book" Watch "junit book" New topic
Author

junit book

Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

Hi author,

How do you compare your book with others available in the market?


Groovy
Vincent Massol
Author
Ranch Hand

Joined: Aug 09, 2003
Posts: 70
Originally posted by Pradeep Bhat:
Hi author,

How do you compare your book with others available in the market?

hehe...
- Focused on real-life examples (not the "money" type example). It does not shy from hard cases.
- The book takes you through end to end cases. It does not just show you how to write test case, but also how to organize your projects, how to run your tests in different environments, how to automate them, etc.
- Lots of examples from the J2EE world. It covers all J2EE components.
- Addresses testing automation through the full project lifecycle
- Covers some "new" frameworks/versions: Maven, DynaMock, Cactus 1.5, etc.
- Easy to read style (according to reviewers), but this is a subjective criteria...
It does not cover:
- GUI unit testing
- Multithreading testing
- It's not a book on the theory of unit testing. It's a practical book sprinkled with best practices advice.
The main reason is:
- I'm not an expert in these domains and I prefer not to talk about things I haven't experienced first hand in real life projects. BTW, I'm currently working on a big project where we do Swing unit testing, so the second edition might include some GUI testing...
- Lack of time
Hope it helps,
-Vincent


-Vincent<br /><a href="http://www.manning.com/massol" target="_blank" rel="nofollow">JUnit in Action</a> author
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

Looks like a great book. I would have loved to see multi threading as well. Any plans to include them in future edition?
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

Where can I get TOC of the book?
Vincent Massol
Author
Ranch Hand

Joined: Aug 09, 2003
Posts: 70
Originally posted by Pradeep Bhat:
Where can I get TOC of the book?

http://www.manning.com/massol/
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

Does it talk about using IDE with Junit?
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Originally posted by Pradeep Bhat:
Does it talk about using IDE with Junit?

See table of contents, chapter 5.


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

Joined: Feb 27, 2002
Posts: 8919

What is Maven?
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Originally posted by Pradeep Bhat:
What is Maven?

Maven is Apache's "project management" tool built on top of Ant.
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

What is the relation of this tool with testing?
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

One more question,
Is this book for devlopers or testers?
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
What is the relation of this tool with testing?
Maven runs build scripts, which in turn run JUnit tests.
Is this book for devlopers or testers?
It's a book for testers who write unit tests. Generally, one has to be some sort of a developer for being able to code Java...
Vincent Massol
Author
Ranch Hand

Joined: Aug 09, 2003
Posts: 70
Originally posted by Pradeep Bhat:
One more question,
Is this book for devlopers or testers?

It's a book about unit testing so it *has* to be for developers.
 
GeeCON Prague 2014
 
subject: junit book