Wrong TestCase name in case of params in test method

Bug #1233073 reported by Victor Kropp
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
NUnit Framework
New
Undecided
Unassigned

Bug Description

Consider following example:

    [TestCase("Default", "Remoting", "Linq", "Protobuf.net")]
    [TestCase("Default", "WPF")]
    [TestCase("Default")]
    public void TestMergeSubsystem(string sourceProfileName, params string[] mergeList)
    {
    }

It is expected to produce following test cases:

TestMergeSubsystem("Default","Remoting","Linq","Protobuf.net")
TestMergeSubsystem("Default","WPF")
TestMergeSubsystem("Default")

However NUnit GUI shows following nodes, which is not convenient:

TestMergeSubsystem("Default","Remoting","Linq","Protobuf.net")
TestMergeSubsystem("Default",System.String[])
TestMergeSubsystem("Default")

(Compare second row)

affects: nunitv2 → nunit-3.0
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.