GHPReporter / Ghpr.Console

Console application to convert NUnit and MSTest test result files into Ghpr HTML Report
http://ghpreporter.github.io/
MIT License
5 stars 5 forks source link

Screenshots required in the report #48

Open yfrindel opened 4 years ago

yfrindel commented 4 years ago

This is the same request than for Ghpr.MSTestV2, but here for Ghpr.Console.

I have some screenshots attached to my tests, so I would like to have also these screenshots in the GHPR report please.

Regards,

Yannick

yfrindel commented 4 years ago

Hi,

Any progress please ?

Regards

elv1s42 commented 4 years ago

This will be resolved as soon as https://github.com/GHPReporter/Ghpr.MSTestV2/issues/19 is done.

yfrindel commented 4 years ago

Ok many thanks.

Just to explain you. I have, for each test, 2 files added :

So my 2 files are visible in Azure devops in the tab “Attachments” :

In the TRX file results, you can see that the paths of the attachments are defined :
5

So my question is, in the GHPR report, Is it possible to add a new tab called “Attachments” with a simple link of the files please ? (or a view of the files like it’s done in azure devops if it’s possible)

I can contribute to this development if you want.

Regards,

Yannick

elv1s42 commented 4 years ago

I've added support for test images from .trx files as part of https://github.com/GHPReporter/Ghpr.MSTestV2/issues/19, other attachments will be supported as part of the issue: https://github.com/GHPReporter/Ghpr.Core/issues/46