[Fact(DisplayName = "Test Demo Display Name")]
[Trait("Category", "Internal")]
[Trait("Category", "All")]
public void Demo()
{
// I like to get the DisplayName 'Test Demo Display Name' here(inside this function) for furthur processing.
}
I like to get the DisplayName 'Test Demo Display Name' here(inside function) for further processing. How to do that? I know there are some option to get the Traits details using the TraitsHelper class. Is there any similar approach available for Facts attribute as well.