GHPReporter / Ghpr.MSTestV2

Adapter for MSTestV2 (generate HTML report for MSTestV2)
https://ghpreporter.github.io/
MIT License
3 stars 1 forks source link

Report marked as "generated" but not present in the folder #20

Closed yfrindel closed 4 years ago

yfrindel commented 4 years ago

I have implemented the Ghpr.Console.exe with my builds in azure devops. When I try to launch the Ghpr.Console.exe on a trx file with just 1 UI test, that’s perfect, the report is present in the folder defined in the Ghpr.MSTestV2.Settings.json file :

json

cmd1

folder1

report1

But, when I try to launch the Ghpr.Console.exe on a trx file with all the tests (UI and units), the command return that the report is generated, but the folder is empty :

cmd2

report2

I've added in attachments the “TestResults” folder with the TRX file...

Report.7z.001.zip Report.7z.002.zip Report.7z.003.zip

elv1s42 commented 4 years ago

Hi @yfrindel !

Can you please check the attachments?

I can't extract the .trx file from the .zip: image

Thank you

yfrindel commented 4 years ago

that's an other link for the report : https://drive.google.com/file/d/1ca4EyJ8yudbhkh654-Ot07xKZFCfANdb/view?usp=sharing

elv1s42 commented 4 years ago

Thanks, I was able to reproduce the issue: we can't extract start and end DateTime from tests with outcome="NotExecuted"!

Will fix the issue and add some more logging.

elv1s42 commented 4 years ago

Also I found one related bug: https://github.com/GHPReporter/Ghpr.Core/issues/138

So the Ghpr.Core release is required first.

elv1s42 commented 4 years ago

Release in v0.9.10

elv1s42 commented 4 years ago

Released in v0.9.10