473,411 Members | 1,889 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,411 software developers and data experts.

Nant < nunitreport > function

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

Apr 26 '06 #1
2 1819
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

May 3 '06 #2
An update.

I didn't get nunitreport to work but I did get nunit2report to work.

You can get it here:

http://nunit2report.sourceforge.net/

I didn't think it would work because it doesn't seem to have been
updated in a long time but it did!

Warren

May 3 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Christian Schmidbauer | last post by:
Hello! I prepare my XML document like this way: ------------------------------------------------------- PrintWriter writer; Document domDocument; Element domElement; // Root tag
2
by: Donald Firesmith | last post by:
I am having trouble having Google Adsense code stored in XSL converted properly into HTML. The <> unfortunately become &lt; and &gt; and then no longer work. XSL code is: <script...
6
by: Lasse | last post by:
I have done this simple function, it seems to work as intended, to solve a problem i have had for a while. I couldnt find any sample around that was working for me. I would like to test it with...
4
by: higabe | last post by:
Three questions 1) I have a string function that works perfectly but according to W3C.org web site is syntactically flawed because it contains the characters </ in sequence. So how am I...
5
by: Vinu | last post by:
Hi I am facing a problem in compilation the error is like this In constructor xServices::CServices<TImp>::StHoldClientList::StHoldClientList(std::set<TImp*, std::less<TImp*>,...
11
by: Les Paul | last post by:
I'm trying to design an HTML page that can edit itself. In essence, it's just like a Wiki page, but my own very simple version. It's a page full of plain old HTML content, and then at the bottom,...
0
by: Peter Rilling | last post by:
In nAnt, can files be added to a <fileset> collection dynamically at runtime. Basically what I would like to do is create a <fileset> of assemblies from a folder that contains more than just...
1
by: Spam Catcher | last post by:
Hello Everyone, I just started using nant in conjunction with cruisecontrol.net. The <solutiontag has been great in helping us compile VS.NET 2003 projects without need to write a nant build...
0
by: Curtin1060 | last post by:
Hi, I have a simple exe.config issue where I'd like to swap out the config file with NAnt/XMLPOKE. I just can't figure out the correct xpath to get to the "file=" attribute. I want to swap in...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.