Use the one of the test runners to run the current class:
public static void main(String[] args) { junit.textui.TestRunner runner = new junit.textui.TestRunner(); runner.run(FractionTest.class); }