void (Test test) { myCurrentTestStart = System.currentTimeMillis(); final String className = getClassName(test); if (className != null && !className.equals(myClassName)) { finishSuite(); myClassName = className; System.out.println("##teamcity[testSuiteStarted name ='" + escapeName(myClassName) + "' locationHint='java:suite://" + escapeName(className) + "']"); } final String methodName = getMethodName(test); System.out.println("##teamcity[testStarted name='" + escapeName(methodName) + "' locationHint='java:test://" + escapeName(className + "/" + methodName) + "']"); }