In this blog post, Roger Hughes explains how SureAssert, an integrated Java unit testing tool for Eclipse, can help solving the problem of having to change your Java unit tests when you change part of your code. You use annotations to define a set of tests for each of your class’s methods instead of writing unit tests. SureAssert automatically checks the annotations, generate and run unit tests.