Sun Java Solaris Communities My SDN Account Join SDN
 

JavaOne Online Technical Sessions

Pump Up Your Technical Knowledge
Listen and watch as industry luminaries bring you the latest on Java technologies
Begin Product Tab Sub Links

JUnit 4 and Java SE 5: Better Testing by Design
TS-1580


Presenter: Kent Beck and Alberto Savoia, Agitar Software Inc


JUnit is an easy-to-use framework that supports developers writing automated tests. Since its introduction, JUnit has been adopted by hundreds of thousands of Java technology developers worldwide and has become the de facto standard for Java technology testing. However, JUnit's architecture has remained virtually unchanged for the seven years of its existence. The advent of annotations and other new features in Java Platform, Standard Edition (Java SE) 5 presented an opportunity to improve both the way tests are written and JUnit's own architecture.

The theme of JUnit 4 is to make JUnit simpler and more powerful, to encourage more developers to write more tests. At the same time, JUnit 4 preserves the investment programmers have made in their existing tests. This session explains and demonstrates how Java SE 5 technology and JUnit 4 work together to make developer testing more approachable for programmers. Because JUnit has also created a rich ecosystem of auxiliary and complementary tools, the presentation introduces and demonstrates some of the unique and most useful JUnit-based open source tools. Finally, it describes features of the original JUnit architecture that have caused problems over the years and how JUnit4 is structured to avoid those mistakes and still retain its power and flexibility.

If you are an experienced JUnit user, the presentation will provide you with strategies, examples, and tools to maximize your efficiency and effectiveness by taking advantage of Java technology's and JUnit's latest features. And if you are new to JUnit, it will give you the motivation and know-how to get started in the right direction.

Watch The Session
You need to be a registered Sun Developer Network member to view this multimedia session. If you are a registered SDN member, please click on "Watch Multimedia" button to log-in to view the multimedia session. If you wish to join SDN, please click here.

 
 
FREE White Papers on Java SE, Java EE, cloud computing and database technologies.
New SDN Member Only Offers Every Month Discounts, FREE white papers and more!
Java University and JavaOne Training Sessions