JTreg Tutorials

Version 1


    See the Downloads section for this project (left hand menu).

    JavaOne 2012


    OpenJDK Testing Tutorials


    Introduction to the OpenJDK tests

    http://www.youtube.com/watch?v=ZcOGof_DXcU - Where it all begins

    JTREG Tutorial - Part I - Getting started with jtreg

    http://www.youtube.com/watch?v=4_MSxD8iC1E - It includes an introduction on using the jtreg harness. It describes the nuts and bolts of a jtreg test case. How to execute a jtreg test case, an example of a test case and a review of the log file produced. Also a demo of the above is included and finally some links to reference materials.

    JTREG Tutorial - Part II - jtreg testcase examples

    http://www.youtube.com/watch?v=VPA0DlAjvLA - As the name suggests it includes test examples. It also includes a demo on test execution/debugging failures. Finally, it includes links to reference materials.

    JTREG Tutorial - Part III - TestNG Testcases with jtreg

    http://www.youtube.com/watch?v=AErVcuUfasE - This video describes how TestNG test cases are supported by jtreg. The video includes demos to help understand how to write TestNG test case under jtreg. There are links to reference materials.

    JTREG Tutorial - Part IV - Contributing to OpenJDK

    http://www.youtube.com/watch?v=Phe61ngpRQY - This video describes how to contribute tests to OpenJDK. It includes recommended practice for tests and information about OpenJDK workspace. There are links to reference materials.

    OpenJDK Testing Pitfalls

    http://www.youtube.com/watch?v=zKUI5HJVqCs - OpenJDK is a very complex piece of software!