O'Reilly logo

JUnit Recipes: Practical Methods for Programmer Testing by J B Rainsberger, Scott Stirling

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

About this Book

Beyond unit tests

As Test-Driven Development practitioners, we have a tendency to write about JUnit exclusively as a tool for writing Object Tests. Because much of the JUnit community intersects with the TDD community, this seems like a reasonable thing to do; however, you may not be a TDD practitioner. Your current project may use JUnit, but only to write tests for existing code or to write tests at a higher-level view of the system than its objects. We would hate to leave you out of the conversation, as JUnit is certainly suitable for writing other kinds of tests.

There are Integration Tests, which are still Programmer Tests, that focus more on the collaboration of a number of objects, rather than the behavior of a single ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required