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

when running multiple TestNG suites, only the last suite displayed #223

Open oyuval opened 5 years ago

oyuval commented 5 years ago

when using Difido (latest version) with TestNG (I use 6.14.3)

and running suite multiple suites as displayed in this example

`

`

only the last suite will be displayed @itaiag

itaiag commented 5 years ago

The Difido TestNG binder is not supporting reporting of parallel tests. Hope to add the support in one of the future versions.

oyuval commented 5 years ago

Hi Itai

This bug happens also on serial tests (I didn't test it on parallel tests)

In TestNG you can create a hierarchical structure of suites using XML tag that means that TestNg suite can have children suites (I added an example of suite in the description of the bug)

In this case, the reporter saves only the last suite reports

I guess that difido SuiteListener.onStart method cleans the reporter directory every time since it assumes that we run only TestNg suites without children series