Top-Q / difido-reports

This project aims to provide a generic implementation for HTML test reports.
http://top-q.github.io/difido-reports
Apache License 2.0
47 stars 31 forks source link

Only if single test is run the report generated has two test instances #212

Closed muzammilk closed 5 years ago

muzammilk commented 5 years ago

I am using difido with testng and when I run my tests I see an additional test result for all the tests in the report.

For example - In the IDE console I see the following as testng results on running a single test- Default suite Total tests run: 1, Failures: 1, Skips: 0

However in the html report generated shows two test results even if a single test is executed (additional one is always a pass). Below are the screenshots of the report.

image image image

itaiag commented 5 years ago

Which Eclipse version are you using? There is a bug in two of the versions with the integration with the TestNG library. From some reason it publishes the test events twice.

Try to run the tests directly from Maven and see if the report works as expected. If it is, try to update your Eclipse version to the latest one.