1

I have multiple testresult.xml (say testresultMachine1.xml, testresultMachin2.xml etc.) that I get by running my nunit3 tests on different machines during a Jenkins pipeline build.

Now, I want to merge these XMLs on the master node and use extent.exe from https://github.com/extent-framework/extentreports-dotnet-cli to generate a single consolidated html report from multiple xmls.

However, I observe that extent.exe creates a separate folder for each testresult.xml e.g. a folder called testresultMachine1, testresultMachine2 and so on, where each of these have their own index.html and dashboard.html.

How can I get a single consolidated index.html and dashboard.html? Is extent.exe the right tool since ReportUnit is being deprecated.

Chubsdad
  • 24,777
  • 4
  • 73
  • 129
  • I would suggest raising a PR to enable merging multiple XML files into 1 using the --merge parameter. – foursyth Feb 27 '19 at 16:31
  • 1
    Opened an enhancement here: https://github.com/extent-framework/extentreports-dotnet-cli/issues/6 – foursyth Feb 27 '19 at 17:31

1 Answers1

2

This is currently not possible, but I have raised an enhancement for it here: https://github.com/extent-framework/extentreports-dotnet-cli/issues/6.

*EDIT

Merge is now possible with the --merge arg.

foursyth
  • 527
  • 1
  • 3
  • 10