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

Documentation for NUnit.Allure

Allure report:

Allure report

Code example:

[TestFixture]
[AllureNUnit]
public class Tests
{
    [Test]
    [AllureTest("I'm a test")]
    [AllureTag("NUnit","Debug")]
    [AllureIssue("GitHub#1", "https://github.com/unickq/allure-nunit")]
    [AllureSeverity(AllureSeverity.Critical)]
    [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