← Back to team overview

nunit-core team mailing list archive

[Bug 1233073] Re: Wrong TestCase name in case of params in test method

 

** Project changed: nunitv2 => nunit-3.0

-- 
You received this bug notification because you are a member of NUnit
Developers, which is subscribed to NUnit V2.
https://bugs.launchpad.net/bugs/1233073

Title:
  Wrong TestCase name in case of params in test method

Status in NUnit Test Framework:
  New

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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/nunit-3.0/+bug/1233073/+subscriptions


References