Skip to content

XSL file to convert junit xml generated from Chutzpah.3.2.2 to MSTest trx

Notifications You must be signed in to change notification settings

harip/Junit-xml-to-MSTest-trx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

Junit-xml-to-MSTest-trx

Transformation file created by editing FL_junit_trx.xslt_BuildExtensions90 that came with MSXL.exe

Merge Chutzpah.3.2.2 JavaScript test report with MsTest report using CruiseControl.Net

Generate Chutzpah.3.2.2 JavaScript test report

<exec>
<executable>C:\Program Files (x86)\Chutzpah.3.2.2\tools\chutzpah.console.exe</executable>
<buildArgs>C:\JavaScriptTests /testMode=JavaScript  /vsoutput /junit >C:\JavaScriptTestResults.xml</buildArgs>
<baseDirectory>C:\Projects\JavascriptTests</baseDirectory>
<buildTimeoutSeconds>0</buildTimeoutSeconds>
</exec>

Convert the test report to trx format using MSXL.exe and the transformation file xslt_Junit_MsUnit included in this repo

<exec>
<executable>C:\msxsl.exe</executable>
<buildArgs>C:\JavaScriptTestResults.xml C:\xslt_Junit_MsUnit -o C:\JavaScriptTestResults.trx</buildArgs>
<baseDirectory>C:\</baseDirectory>
<buildTimeoutSeconds>0</buildTimeoutSeconds>
</exec>	

Merge the reports for a single test report

<publishers>
 <merge>
   <files>
   	<file>C:\JavaScriptTestResults.trx</file>
 	  <file>C:\MSTestResults.trx</file>	  
   </files>
 </merge>
</publishers>	

About

XSL file to convert junit xml generated from Chutzpah.3.2.2 to MSTest trx

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published