Here are some useful JUnit 4 links/resources:
Basic:
JUnit 4.0 cheat sheet/reference card in pdf format by Codign Software.
JUnit Cookbook
- official and short JUnit 4 cookbook.
JUnit 4.0 in 10 minutes by Gunjan Doshi
- A simple and quite comprehensive tutorial
JUnit Reloaded in Jave.net by Ralf Stuckert
- read this if you have experience in JUnit 3.8.x.
Intermediate:
JUnit 4 and Java SE 5: Better Testing by Design in JavaOne, by Kent Beck and Alberto Savoia
- for both new and experienced JUnit user. (Note: Sun SDN login needed)
JUnit 4 Extension
- added few new annotations like @Prerequisite (ignore tests based on conditions), @Category (filter and sort tests based on a Category) etc
Jump into JUnit 4 in IBM developerWorks, by Andrew Glover (Updated 09 Mar 07)
- To understand the major changes to JUnit 4, as well as being familiar with features such as exception testing, parametric testing, and the new flexible fixture model. (IBM Id login is required)
Here is my del.icio.us for the above links.
Common:
Unit Testing Recommended Best Practices in pdf by Codign Software.
- common for all unit test.

1 comments:
CK, great blof and appreciate the information. You may also like www.testdriven.com - that contains a lot of useful information.
Post a Comment