Better JUnit Tests with PMD - free chapter!

09 Feb 2006

My book PMD Applied has been out for a few months, but now I'm thinking of some things I'd like to be in there. Thus this announcement - I've just released a free supplemental chapter, "Better JUnit Tests With PMD"!

In this chapter I go through the PMD JUnit ruleset and show how you can use each rule to make your JUnit tests cleaner and more informative. Hopefully it will add more to the "PMD Applied" idea in that the chapter is devoted to, well, applying PMD to a particular domain - unit tests. You can download it in PDF format from the book's web site.

Props to my publisher, Centennial Books, for supporting this effort. And of course, if you don't already have a copy of "PMD Applied", now's the perfect time to pick one up!