Menu

#1 XSLT doesn't seem to summarize multiple XML files correctly

open
nobody
None
5
2003-04-11
2003-04-11
Anonymous
No

My NUnit2 tasks generate 7 XML files. There is one for
each suite (fixture) of tests. Each XML file captures the
results of the multiple tests within each suite. The problem is
that when I generate a summary document using
NUnit2Report I get an HTML document with the same
content repeated 7 times. It appears that the XSLT is
looping over the occurances of the test-results element. Of
course each XML file will have one of these and so together
there are 7 of them. Also, I think that this is causing the
timings to be reported incorrectly.

I use:

<target name="GenerateTestSummary">
<nunit2report out=".\Tests\NUnit2TestSummary.html" >
<fileset basedir=".\Tests">
<includes name="*results.xml" />
</fileset>
</nunit2report>
</target>

to generate the summary.

There are 7 files that will match the wildcard.

Thanks,

Darin (dcreason@corillian.com)

Discussion

  • Nobody/Anonymous

    Summary of 7 XML files using standard XSLT

     
  • Gilles Bayon

    Gilles Bayon - 2003-08-08

    Logged In: YES
    user_id=682760

    If you read the doc, NUnit2Report doesn't yet support multiple
    XML file in input

     

Log in to post a comment.

MongoDB Logo MongoDB