Re: New Tags

"Charlie Poole" <[email protected]>
Newsgroups gmane.comp.windows.dotnet.nunit.user
Message-ID <00d801c86456$8f162f60$ca02000a@ferrari>
Hi Rob,

You can create the info you want by deriving SummaryAttribute
from PropertyAttribute. This will add a name/value pair to
the test with name="Summary" and value=your info.

You would then have to write your own code to extract the
info from the xml result file.

Charlie

> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf 
> Of Rob Bonner
> Sent: Thursday, January 31, 2008 1:10 PM
> To: [email protected]
> Subject: [Nunit-users] New Tags
> 
> Hello,
> 
> We are looking for a way to extend nUnit's attributes tags to 
> enhance our test reporting.  We would like to add a concept 
> of a test summary that is exported to the resulting XML test results.
> 
> Similar to the [Category("name")] tag, we would like a 
> [Summary("info here")] type of tag.
> 
> So, the question.  Has this been done, or can we achieve this 
> using something that is already available?
> 
> Thanks!
> 
> Rob Bonner
> ICON Laboratories
> 
> 
> --------------------------------------------------------------
> -----------
> This SF.net email is sponsored by: Microsoft Defy all 
> challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Nunit-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/nunit-users
> 



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.