JUnit is the de facto standard in Java testing. Yet many advanced JUnit features are little known and poorly understood. This session reviews some lesser-known features of JUnit, along with a few associated libraries, that can make your unit tests more powerful, expressive, and fun. The session is intended for Java developers, lead developers, and architects trying to introduce good testing practices into their teams.
Attendees will learn about
• Writing clearer and more expressive tests with JUnit 4, Hamcrest, and Mockito
• Data-driven testing in JUnit with parameterized tests and theories
• Using JUnit rules to extend your test cases and writing your own rules to customize JUnit
• Using JUnit categories to group your tests
Smart will also be presenting on Hudson at JavaOne 2010. That presentation is called "Getting More from Your CI Server: Taking Hudson to the Next Level" (S312977).