allure-csharp
allure-csharp copied to clipboard
Meta attributes
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 */
}
}