Menu

#362 Add Name property to TestFixture for GUI renaming

V2.5
open
nobody
framework (78)
5
2009-12-20
2009-06-23
Clive Dixon
No

For parameterised test fixtures the name in the GUI is the name of the class plus parameters.

[TestFixture(1)]
[TestFixture(2)]
public class MyTestFixture

gives "MyTestFixture(1)" etc. in the GUI.

It would be nice to give the TestFixture a Name property, as TestCaseData does, to be able to change the name in the GUI in the same way:

[TestFixture(1,Name="First case")]
[TestFixture(2,Name="Second case")]

Discussion

  • Charlie Poole

    Charlie Poole - 2009-06-26

    I opened some discussion about the advisability of this change on the nunit-discuss list.

     
  • Charlie Poole

    Charlie Poole - 2009-12-20
    • labels: 572034 --> framework
     

Log in to post a comment.

MongoDB Logo MongoDB