Skip to content

Commit

Permalink
fix: listener has been updated #1595;
Browse files Browse the repository at this point in the history
  • Loading branch information
smansoft committed Jan 10, 2022
1 parent 72b4ad9 commit 527d1c2
Showing 1 changed file with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,7 @@ private void testFailed(ITestResult result) {
}

private String getTestInfo(ITestResult result) {
String testInfo = null;
if(result.getClass() != null && result.getMethod() != null) {
testInfo = result.getClass().getName() + "." + result.getMethod().getMethodName();
}
else {
testInfo = result.getName();
}
return testInfo;
return result.getInstanceName() + "." + result.getName();
}

}

0 comments on commit 527d1c2

Please sign in to comment.