File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Testing and the fly likes Good books about testing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Testing
Bookmark "Good books about testing" Watch "Good books about testing" New topic

Good books about testing

Swerrgy Smith
Ranch Hand

Joined: Mar 26, 2010
Posts: 90
Hi all,

I'm looking for a good book that describe how to write good tests for different kinds of applications.

Can anyone recommend me one?

Jeanne Boyarsky
internet detective

Joined: May 26, 2003
Posts: 30293

"JUnit in Action" and "Test Driven" are both very good books for developer testing.

[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Nam Ha Minh
Ranch Hand

Joined: Oct 31, 2011
Posts: 498

How about "TestNG"?

PM Me If You Want to get Urgent Help on Java Programming
Tim Cooke

Joined: Mar 28, 2008
Posts: 925

For learning about the technicalities of how to write good and useful Unit Tests for various situations "Effective Unit Testing", the follow up to "Test Driven", is also excellent.

As a motivation for why you might want to write Unit Tests, and employ TDD, I would recommend "Test-Driven Development by Example" by Kent Beck.

Tim Driven Development
Jeanne Boyarsky
internet detective

Joined: May 26, 2003
Posts: 30293

Nam Ha Minh wrote:How about "TestNG"?

JUnit is more common than TestNG. If someone is getting started with testing, I think it is better to start with the more common of the frameworks.
I agree. Here's the link:
subject: Good books about testing