Feature/Bug Nunit/XML attribute "Description" should be handled in HTML report

Bug #535062 reported by Milan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
NUnit-Results
Triaged
Medium
Unassigned

Bug Description

Hi all,

NUnit framework (and XML result file) have attribute Description, for each function and for [TestFixture] class. It would be usefull that "Description" with its value is also converted to HTML report so one can get more information about specific unit test and test class.
For example near [TestFixture] could be written test setup description like what is version of the assembly under test, what are versions of dll used by assembly under test uses...

br,
Milan.

Revision history for this message
Charlie Poole (charlie.poole) wrote :

Seems like a reasonable request to display any description.

However, I suggest you NOT use description for factors that apply to a particular test run but use it only for those things that are permanent with respect to the assembly. Having to change the code each time you execute the tests is usually not a good choice.

Changed in nunit-results:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Milan (milan-vukoslavcevic) wrote :

Now I do not know should I post this to NUnit project or NUnit Report project ? but there should be some option that at least in app.config file user can set "Assembly file version under test" or other test setup parameters which would be loaded in NUnit during test setup/[SetUp] and then written to XML file.
Somewhere what/how (test setup parameters) is tested should be written, right ?

Revision history for this message
Charlie Poole (charlie.poole) wrote : RE: [Bug 535062] Re: Feature/Bug Nunit/XML attribute "Description" shouldbe handled in HTML report

I think this would be good to discuss on the mailing list. The
bug reporting system is not a good place for discussions that
go beyond a single error and this is really part of a very
broad topic: "What can NUnit do better for test run management?"

Charlie

> -----Original Message-----
> From: <email address hidden> [mailto:<email address hidden>] On
> Behalf Of Milan
> Sent: Tuesday, March 09, 2010 8:48 AM
> To: <email address hidden>
> Subject: [Bug 535062] Re: Feature/Bug Nunit/XML attribute
> "Description" shouldbe handled in HTML report
>
> Now I do not know should I post this to NUnit project or
> NUnit Report project ? but there should be some option that
> at least in app.config file user can set "Assembly file
> version under test" or other test setup parameters which
> would be loaded in NUnit during test setup/[SetUp] and then
> written to XML file.
> Somewhere what/how (test setup parameters) is tested should
> be written, right ?
>
> --
> Feature/Bug Nunit/XML attribute "Description" should be
> handled in HTML report
> https://bugs.launchpad.net/bugs/535062
> You received this bug notification because you are subscribed
> to NUnit Extended Testing Platform.
>

Revision history for this message
Milan (milan-vukoslavcevic) wrote :

Ok I will posted on discussion board, I put it here because I was "sure" that Description attribut value should somehow end up in HTML report.

Revision history for this message
Charlie Poole (charlie.poole) wrote :

I think it should "somehow" end up there. :-)

But how? Should it be a standard item or only shown on request? Or should there be a variety of different report formats? etc.

Clearly, I'm enlarging the question. :-)

Charlie

Changed in nunit-results:
milestone: none → 2.0
Revision history for this message
Charlie Poole (charlie.poole) wrote :
Changed in nunit-results:
milestone: 2.0 → none
status: Triaged → Fix Released
Changed in nunit-results:
status: Fix Released → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.