Part 3. More JUnit techniques

Up to this point we have discussed the building blocks of JUnit tests, as well as how to apply those building blocks in testing J2EE components and applications. There is more to Java than J2EE, and there is much more to JUnit than the basics; so we wanted to look at some of the more advanced JUnit techniques that we had not had the opportunity to introduce up to now. This part contains recipes related to design patterns, popular JUnit extensions, and a few other recipes that did not seem to fit into other chapters.

Get JUnit Recipes now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.