startingwithseleniumwebdriver / RealTimeReport

This Project Created To Get RealTime Test Report Using TestNG
35 stars 16 forks source link

Your project is duplicating data #11

Closed guilhermejp8 closed 5 years ago

guilhermejp8 commented 7 years ago

Hi my friend, your project is duplicating the data, it calls twice the method onTestSuccess , onTestFailure, onTestSkipped .... I need your help. Do you have any solutions?

sureshdubey commented 7 years ago

me too facing same issue. Pass % is showing as 200%. Could you please correct it at your end and upload the changes.

image

startingwithseleniumwebdriver commented 7 years ago

We are unable to reproduce this issue from our end can anyone(@guilhermejp8, @sureshdubey ) please share your sample project.

kmehta30 commented 6 years ago

@startingwithseleniumwebdriver I am also facing the same issue of getting 200% pass. Any solution for this.. image

rathodamol commented 6 years ago

Do you have any update on the said issue. By the way I am using the BaseTest class which is extended to all the Test Cases

startingwithseleniumwebdriver commented 5 years ago

The completed percentage is coming more than 100%. The problem was - TestNG captures the excluded @test methods list which are not really excluded by user, they are the configuration methods (i.e @BeforeTest etc..). So, now an extra check is applied from our code end to verify whether the excluded methods reported by TestNG is @test annotated method or not.

And sorry for the delay for the fix - as we could not reproduce the issue. So closing the issue.