Skip to content

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

Closed
@JohanLarsson

Description

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

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions