Java Reference
In-Depth Information
Figure 13.3 JUnit Swing GUI running tests
This is the GUI part of JUnit, part of what has made it so popular. By
writing JUnit tests, you get to use their GUI. If you were to develop your own
testing mechanism, you would also have to (re)invent a GUI.
There is an AWT GUI for the Swing-averse, but it is less featured. There
is also a plain command-line test case runner:
$ java junit.textui.TestRunner junit.samples.AllTests
.........................................
.........................................
.....................................
Time: 3.834
OK (119 tests)
$
Search WWH ::




Custom Search