HikosakaRyo / trxlog2html

Apache License 2.0
0 stars 5 forks source link

Add resultFile to the template generation #5

Open potnoddle opened 2 months ago

potnoddle commented 2 months ago

I've been working on a project using Gherkin with Playwright and MsTest and wanted to add images and videos to the report; which now works.

My next step is to create a report, to ensure this works without the need for ReportUnit, I decided to extend your project.

It's not perfect but at the stage I would like to show you!

Sample trx output:

<UnitTestResult>
  <Output>
  </Output>
  <ResultFiles>
    <ResultFile path="VmName/featureImage.png" />
    <ResultFile path="VmName/08b3a43611ee1f1140c53be265c2f9ec.webm" />
  </ResultFiles>
</UnitTestResult>

TODO: ensure files are point correctly at the image with the subfolder.

HikosakaRyo commented 2 months ago

Hello Thank you so much for your pull request! I really appreciate your contribution. Unfortunately, I'm currently swamped with work, so I might not be able to review it immediately. But I'll make sure to take a look as soon as I can.