Skip to content
This repository was archived by the owner on Dec 12, 2017. It is now read-only.
This repository was archived by the owner on Dec 12, 2017. It is now read-only.

XUnit 2.1 Custom CategoryTraitAttribute is ignored in Unit Test Explorer - Group by #128

@psech

Description

@psech

Details:
VS: 2015 Professional Update 3
R#: 10.0.2 Ultimate
Xunit: 2.1.0

The issue:
I have got custom attribute like

public class SmokeTestAttribute : CategoryTraitAttribute
{
    public SmokeTestAttribute() : base("Smoke") { }
}

and I am using it as

[Fact(DisplayName = "User should be able to login")]
[SmokeTest]
public void UserShouldSignIn()

When I am selecting Group by: Category in R# Unit Test Explorer I see all of the tests as <Uncategorised> (xx tests).
However, in VS Test Explorer I can see Category [Smoke] (xx) and No Traits (yy)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions