}
final String testMethodName = selector == null ? null : selector.getSelectedTestMethodName();
if(testMethodName != null && testMethodName.length() > 0) {
log.debug("Running test method {} from test class {}", testMethodName, className);
junit.run(Request.method(getTestClass(className), testMethodName));
} else {
log.debug("Running test class {}", className);
junit.run(getTestClass(className));
}
}