Description (Runner child) { final Description superDescription = super.describeChild(child); if (child instanceof ClassAwareSuiteMethod) { final Description description = Description.createSuiteDescription(((ClassAwareSuiteMethod)child).getKlass()); ArrayList<Description> children = superDescription.getChildren(); for (Description desc : children) { description.addChild(desc); } return description; } return superDescription; }