allure-csharp icon indicating copy to clipboard operation
allure-csharp copied to clipboard

Meta attributes

Open delatrie opened this issue 2 years ago • 0 comments

Meta attributes allow applying multiple Allure attributes to a function or a class at once.

// Definition specifies a composition of, say, epic, feature, owner, and link.
class MyAttributeAttribute /* probably some base class */
{
    /* Definition of the composition */
}

class MyTestClass
{
    [Test]
    [MyAttribute(/* arguments */)]
    public void MyTest()
    {
        /* This test receives all the attributes defined by MyAttributeAttribute */
    }
}

delatrie avatar Oct 30 '23 13:10 delatrie