Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.
Nick edited this page Aug 31, 2018 · 4 revisions

Documentation for NUnit.Allure

Allure report:

Allure report

Code example:

[TestFixture]
[AllureNUnit]
[AllureSubSuite("Example")]
[AllureSeverity(AllureSeverity.Critical)]      
public class Tests
{
    [Test]
    [AllureTag("NUnit","Debug")]
    [AllureIssue("GitHub#1", "https://github.com/unickq/allure-nunit")]
    [AllureFeature("Core")]
    public void EvenTest([Range(0, 5)] int value)
    {
        Assert.IsTrue(value % 2 == 0, $"Oh no :( {value} % 2 = {value % 2}" );
    }
}
Clone this wiki locally