Friday, September 10, 2010

JavaOne 2010 Abstract of the Day #6: JUnit Kung Fu: Getting More Out of Your Unit Tests

John Ferguson Smart's presentation"JUnit Kung Fu: Getting More Out of Your Unit Tests" (S312958) is scheduled to be held in Parc 55 Cyril Magnin III beginning at 10 am on Wednesday, September 22.  The abstract for this presentation is shown next.
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
This is another example of a topic that I consider "core Java," but hope to learn much more about during this presentation.  I'm always looking for tips to do daily tasks better and more efficiently and I think this presentation looks promising in that regard.  John Ferguson Smart has written multiple articles and  has written the book Java Power Tools.  I look forward to the chance to learn more about JUnit and associated tools such as Hamcrest and Mockito.

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).

No comments: