Re: How to group tests in one assembly?

"Charlie Poole" <[email protected]>
Newsgroups gmane.comp.windows.dotnet.nunit.user
Message-ID <00f401c86ff6$eb043aa0$6401a8c0@ferrari>
HI Artur,
 
You would do this by putting the tests in a namespace hierarchy that maps to
the grouping 
you want to create.
 
For example...
 
    My.Tests.Group1.Test1
    My.Tests.Group2.Test2
       ...
    My.Tests.Group2
       ...
 
NUnit will show the same struture in it's tree display.
 
Charlie



  _____  

From: [email protected]
[mailto:[email protected]] On Behalf Of Artur Futuro
Sent: Friday, February 15, 2008 4:07 AM
To: [email protected]
Subject: [Nunit-users] How to group tests in one assembly?


Hi!

I would like to create grouped tests in one assebmly in C# project. Is it
possible ? Below I present a structure that I would like to get in nunit gui

root
  |
  | ---- assembly
  |          |
  |          | -------- group 1
  |          |              |----- test 1
  |          |              |------test 2
  |          |              |
  |          |              |------ test n
  |          |
  |          | -------- group 2
  |          |              |----- test 1
  |          |              |------test 2
  |          |              |
  |          |              |------ test n         
  |          |
  |          | -------- group 3
  |          |              |----- test 1
  |          |              |------test 2
  |          |              |
  |          |              |------ test n


Thanks a lot for any help.

-------------------------------------------------------------------------
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
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.