Skip to content

No tests run when nested classes in partial generic. #2789

Open
@rprouse

Description

From @JohanLarsson on March 30, 2018 14:16

using NUnit.Framework;

[TestFixture(typeof(int))]
[TestFixture(typeof(double))]
public partial class Foo<T>
{
    public class Bar
    {
        [Test]
        public void BarTest()
        {
        }
    }
}

public partial class Foo<T>
{
    public class Baz
    {
        [Test]
        public void BazTest()
        {
        }
    }
}

The VS runner does not run any test from what I can see.

Visual Studio Enterprise 2017 v15.6.4
NUnit 3 Test Adapter v3.10.0.0
NUnit v3.9.0
net461

Copied from original issue: nunit/nunit3-vs-adapter#498

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions