Skip to content
This repository has been archived by the owner on Dec 14, 2018. It is now read-only.

AttributeManager

Ilya Murzinov edited this page Jul 9, 2014 · 1 revision

AttributeManager

Attribute manager provide methods Update(TestSuiteStartedEvent evt) and Update(TestCaseStartedEvent evt) to update events base on following attributes:

  • AllureTitleAttribute
  • AllureDescriptionAttribute
  • AllureSeverityAttribute

To instantiate AttributeManager list of attributes has to be passed to constructor.

Example:

    [AllureTitle("Suite title")]
    [AllureDescription("Suite description", descriptiontype.text)]
    [AllureSeverity(severitylevel.critical)]     
    [TestFixture]
    public class AttachmentsTests
    {
        [AllureTitle("Test case title")]
        [AllureDescription("Test case description", descriptiontype.html)]
        [AllureSeverity(severitylevel.critical)]
        [Test]
        public void AttachmentsTest(string extension, string mime) {/* ... */}
    }
Clone this wiki locally