Request req =org.junit.runner.Request.method(clazz,method); new JUnitCore().run(req);
clazz是测试例类,method是测试例中的单个方法