This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
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

Win a copy of Elasticsearch in Action this week in the Big Data forum!
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: 91
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
author & internet detective

Joined: May 26, 2003
Posts: 31588

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

[OCA 8 book] [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: 1577

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
author & internet detective

Joined: May 26, 2003
Posts: 31588

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.
jQuery in Action, 2nd edition
subject: Good books about testing