Nant < nunitreport > function

  • Thread starter Thread starter eric.patterson
  • Start date Start date
E

eric.patterson

I am trying to setup an automatic build using nant. I am using the
nunit2 task to run my unit tests after the build. I then want to take
the nunit results xml file and produce a html page using the
nunitreport task. When it produces the html output file it doesn't
include any of the statitics from the xml results output file. I
believe this might be due to the fact that I didn't have a xsl file for
it to use to parse the xml file. How do I produce this xsl file so I
give it to nunitreport to use? Thanks.

Eric
 
Hi Eric,

Sorry this is a "I have the same problem" reply and not a solution.

I seem to have the same issue. I get the NUnit output xml and it
indicates tests were ran / failed but the report just shows 0 Tests 0
Failures etc.

I am using NUnit 2.2.8 (using exe task in my NAnt script) and it is a
..Net 2.0 library that is being tested.

If anyone could confim that nunitreport doesn't work with some versions
of NUnit output that would be great. I am new to the NAnt stuff and am
pulling my hair out trying to figure out if I am doing something wrong
or their is something wrong with the task.

Thanks in advance.

Warren
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top