← Back to team overview

nunit-core team mailing list archive

[Bug 1065254] Re: Cannot open test from Test Explorer for tests in a Parameterized Test Fixture

 

** Project changed: nunitv2 => nunit-vs-adapter

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

Title:
  Cannot open test from Test Explorer for tests in a Parameterized Test
  Fixture

Status in NUnit Test Adapter for Visual Studio:
  New

Bug description:
  If I have a class with a TestFixtureAttribute that uses the NON-
  Parameterless constructor, Hitting F12 or right clicking->Open Test
  does not navigate to the test.  There is also a message saying
  "Source: no source available"

      //doesn't work
      [TestFixture(42)]
      public class MyTestClass
      {
          [Test]
          public void MyTest()
          {

          }
      }

      //works
      [TestFixture()]
      public class MyTestClass
      {
          [Test]
          public void MyTest()
          {

          }
      }

  Version: NUnit Test Adapter Beta 2.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nunit-vs-adapter/+bug/1065254/+subscriptions


References