nunit-core team mailing list archive
-
nunit-core team
-
Mailing list archive
-
Message #03066
[Bug 1065254] [NEW] Cannot open test from Test Explorer for tests in a Parameterized Test Fixture
Public bug reported:
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.
** Affects: nunitv2
Importance: Undecided
Status: New
** Tags: vs-adapter
** Tags added: vs-adapter
** Description changed:
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()
- {
+ //doesn't work
+ [TestFixture(42)]
+ public class MyTestClass
+ {
+ [Test]
+ public void MyTest()
+ {
- }
- }
+ }
+ }
- //works
- [TestFixture()]
- public class MyTestClass
- {
- [Test]
- public void MyTest()
- {
+ //works
+ [TestFixture()]
+ public class MyTestClass
+ {
+ [Test]
+ public void MyTest()
+ {
- }
- }
+ }
+ }
+
+ Version: NUnit Test Adapter Beta 2.
--
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 V2 Test Framework:
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/nunitv2/+bug/1065254/+subscriptions
Follow ups
References