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 Book On Cactus and HttpUnit Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Testing
Bookmark "Good Book On Cactus and HttpUnit" Watch "Good Book On Cactus and HttpUnit" New topic

Good Book On Cactus and HttpUnit

Alec Lee
Ranch Hand

Joined: Jan 28, 2004
Posts: 569
As a beginner, I find it is difficult to learn from the online doc for them. Are there any good books covering these two frameworks? Thanks
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968

It's sad, but Unit testing books don't get alot of respect on the market, and it seems to me, when people write them, they don't write them with love. The books I've seen have been riddled with typos and code errors. I can deal with the typos, but errors in code is unacceptable.

Having said that the two books that deal with Cactus that I've used as references are:

Tools for XP Programming


Jakarta Pitfalls, including Cactus

The latter is pretty good for Cactus. I think you'll find both of these books give you some good ideas, but might not give you the depth you're looking for. But then again, a good book shows you how to use the tools - it's up to you to decide what it is you will craft from them.

Happy Unit Testing!

-Cameron McKenzie
Ilja Preuss

Joined: Jul 11, 2001
Posts: 14112
Having been one of the proofreaders of both "Junit Recipes" and the german version of "Unit Testing in Java: How Tests Drive the Code" I can assure you that there is a lot of love in them. I'd assume that the same is true for the other books.

Both "JUnit Recipes" and "JUnit in Action" contain tips about Cactus and I think also HttpUnit.

As an aside, I'd rather use HtmlUnit or JWebUnit than HttpUnit - both have a more friendly API.

The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
I agree. Here's the link:
subject: Good Book On Cactus and HttpUnit
It's not a secret anymore!