String (TestIdentifier child) { if (!myForkedTestPlan.getParent(child).isPresent()) { //if fork mode is "repeat", then the only child is the corresponding class child = myForkedTestPlan.getChildren(child).iterator().next(); } final TestIdentifier testIdentifier = child; final String className = JUnit5TestExecutionListener.getClassName(testIdentifier); final String methodSignature = JUnit5TestExecutionListener.getMethodSignature(testIdentifier); if (methodSignature != null) { return className + "," + methodSignature; } return className != null ? className : testIdentifier.getDisplayName(); }