drunkcod / Cone

8 stars 1 forks source link

NUnit compatibility problem with derived CategoryAttribute #25

Closed drunkcod closed 11 years ago

drunkcod commented 11 years ago

Consider this:

public class IntegrationAttribute : CategoryAttribute
{
  public IntegrationAttribute() : base("Integration") { }
}

[TestFixture, Integration]
public class NUnitFixtureThatShouldHaveIntegrationAsCategory
{ }

this fixture should be receive the "Integration" category, it doesn't.