About Duffbert...

Duffbert's Random Musings is a blog where I talk about whatever happens to be running through my head at any given moment... I'm Thomas Duff, and you can find out more about me here...

Email Me!

Search This Site!

Custom Search

I'm published!

Co-author of the book IBM Lotus Sametime 8 Essentials: A User's Guide
SametimeBookCoverImage.jpg

Purchase on Amazon

Co-author of the book IBM Sametime 8.5.2 Administration Guide
SametimeAdminBookCoverImage.jpg

Purchase on Amazon

MiscLinks

Visitor Count...



View My Stats

« Book Review - Hacking A Terror Network by Russ Rogers | Main| Skip Ballmer... send in Gates! »

Book Review - Unit Test Frameworks by Paul Hamill

Category Book Reviews

An important part of programming that's become popular in recent years is the move towards test-driven programming.  The O'Reilly book Unit Test Frameworks from Paul Hamill can help you understand how it works and why it's important.

Chapter List:  Unit Test Frameworks: An Overview; Getting Started: Tutorial; The xUnit Family of Unit Test Frameworks; Writing Unit Tests; Unit Testing GUI Applications; JUnit; CppUnit; NUnit; PyUnit; XMLUnit; Resources; Simple C++ Unit Test Framework; JUnit Class Reference; CppUnit Class Reference; Glossary; Index

I've done a little work with JUnit in a prior project, and I must say the concept of test-driven programming was extremely powerful.  By building up a collection of unit tests, you can make changes to a program with complete confidence that your modifications did not break existing functionality.  This particular book can help you take the necessary steps towards understanding how to write the unit tests, and how to use the xUnit types of frameworks to assist your development regardless of language.  I'll find it useful as I start to get back into more complex Java development, plus I want to explore the use of the xUnit packages that test web applications from a user interface perspective.

The book is supposed to be a language-independent overview of xUnit, and it basically is.  Still, a majority of the book deals with how xUnit works in Java, so that's most likely where you'll see the most value.  The other variants like NUnit and PyUnit get only a few pages, and it's a pretty high-level overview.  The book probably could have been larger (it's only 198 pages) in order to cover the other xUnit packages in more detail.

Still, it's a very useful book, and one that you'll derive value from as you implement test-driven programming into your development plans.

Comments

Gravatar Image1 - What I found particularily useful is HTTPUnit. For two reaons:
a) You can test Domino applications
b) you start structuring your application'sHTML properly
stw

Post A Comment

:-D:-o:-p:-x:-(:-):-\:angry::cool::cry::emb::grin::huh::laugh::lips::rolleyes:;-)

Want to support this blog or just say thanks?

When you shop Amazon, start your shopping experience here.

When you do that, all your purchases during that session earn me an affiliate commission via the Amazon Affiliate program. You don't have to buy the book I linked you to (although I wouldn't complain!). Simply use that as your starting point.

Thanks!

Thomas "Duffbert" Duff

Ads of Relevance...