NUnit3 adapter for Allure Framework
- Set target framework .NET 4.6.1 and higher (because of allure-csharp)
- Download from Nuget with all dependencies
- Use Allure attributes for Tests and TestFixtures
[TestFixture]
[AllureFixture("Description for allure container")]
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}" );
}
}