Build a miniature dependency-free test engine inspired by JUnit: discover methods annotated with custom @Check annotations using runtime reflection, instantiate fresh test objects per case, catch InvocationTargetException cleanly, and print a detailed pass/fail summary.
More lessons in Complete Core Java