Add Name property to TestFixture for GUI renaming
Unit testing for .NET
Brought to you by:
charliepoole
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")]
I opened some discussion about the advisability of this change on the nunit-discuss list.