NUnit.Allure 0.2.3

NUnit attributes extenstions for Allure

There is a newer version of this package available.
See the version list below for details.
Install-Package NUnit.Allure -Version 0.2.3
dotnet add package NUnit.Allure --version 0.2.3
<PackageReference Include="NUnit.Allure" Version="0.2.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NUnit.Allure --version 0.2.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Allure NUnit adapter

NUnit3 adapter for Allure Framework

Build status

Installation and Usage

  • Download from Nuget with all dependencies
  • Configure allureConfig.json
  • Use Allure attributes for Tests and TestFixtures

NuGet

Code example:

[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}" );
    }
}

Allure report:

Allure report

ToDo:

  • [x] NET 4.5, NET Standard 2.0 support
  • [ ] Steps Wrapping
  • [ ] Allure SetUp/TearDown support
  • [ ] Attachments

Allure NUnit adapter

NUnit3 adapter for Allure Framework

Build status

Installation and Usage

  • Download from Nuget with all dependencies
  • Configure allureConfig.json
  • Use Allure attributes for Tests and TestFixtures

NuGet

Code example:

[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}" );
    }
}

Allure report:

Allure report

ToDo:

  • [x] NET 4.5, NET Standard 2.0 support
  • [ ] Steps Wrapping
  • [ ] Allure SetUp/TearDown support
  • [ ] Attachments

Release Notes

NET 4.5 support
Retry fix

Showing the top 1 GitHub repositories that depend on NUnit.Allure:

Repository Stars
AutomateThePlanet/AutomateThePlanet-Learning-Series
Automate The Planet Series Source Code

Version History

Version Downloads Last updated
1.0.6 6,569 5/20/2019
1.0.6-beta30 254 2/2/2019
1.0.5 14,592 11/21/2018
1.0.4 1,816 9/20/2018
1.0.4-beta24 138 9/10/2018
1.0.4-beta23 131 9/7/2018
1.0.3 536 8/31/2018
1.0.2 12,883 8/16/2018
1.0.0 860 7/23/2018
1.0.0-alfa6 178 7/20/2018
0.2.3 547 6/1/2018
0.2.2 317 5/24/2018
0.2.1 743 11/22/2017
0.2.0 235 11/15/2017
0.1.1 264 11/4/2017
0.1.0 300 11/3/2017
Show less