Codeception / robo-paracept

Robo tasks for Codeception tests parallel execution
MIT License
57 stars 59 forks source link

Fix HTML report merging for multiple suites #105

Open reinholdfuereder opened 2 years ago

reinholdfuereder commented 2 years ago

Fixes https://github.com/Codeception/robo-paracept/issues/69

So far only the suites of the first HTML report were in the final merged HTML report. And when the first HTML report (luckily) already contained all suites, then all tests from the other HTML reports were always merged into the first suite (instead of the same non-first one).

ccsuperstar commented 2 years ago

Thanks a lot, I still have a problem, with duplicate suite

Capture d’écran 2022-04-28 à 11 34 57

And in a parallel run context, each run has an execution time The final merge of the reports aggregates each of the reports However, in my opinion, the execution time of the final merge should be the execution time of the longest run and not the sum of the execution times of each run

Would it be possible to do it in this PR, or am I opening a new issue?

reinholdfuereder commented 2 years ago

Thanks a lot, I still have a problem, with duplicate suite ...

And in a parallel run context, each run has an execution time The final merge of the reports aggregates each of the reports However, in my opinion, the execution time of the final merge should be the execution time of the longest run and not the sum of the execution times of each run

Would it be possible to do it in this PR, or am I opening a new issue?

Hm, I (as a complete newbie to this project) would say please open a new issue for that, because:

vansari commented 2 years ago

@reinholdfuereder Thank you for your contribution. Is it possible that you write a Unit Test which covers this new changes? Thanks a lot.