JFCUnit is an extension to the JUnit framework that enables you to execute unit tests against code that presents a Swing based interface.