xunit.categories 2.0.2

Friendly Traits for Xunit

There is a newer version of this package available.
See the version list below for details.
Install-Package xunit.categories -Version 2.0.2
dotnet add package xunit.categories --version 2.0.2
<PackageReference Include="xunit.categories" Version="2.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add xunit.categories --version 2.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: xunit.categories, 2.0.2"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install xunit.categories as a Cake Addin
#addin nuget:?package=xunit.categories&version=2.0.2

// Install xunit.categories as a Cake Tool
#tool nuget:?package=xunit.categories&version=2.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

The Xunit built in option Traits can get a little messy. Its just 2 strings representing a key and value, unless you are familiar with Xunit and the Trait attribute it looks a little magical.

Also both key and value must be specified on the command-line. This means if you decorate your test with [Trait("Category","Bug")] you cannot run only tests from a specific bug with out adding another trait ([Trait("Bug","8675309"])

These traits help solve those problems.

The Xunit built in option Traits can get a little messy. Its just 2 strings representing a key and value, unless you are familiar with Xunit and the Trait attribute it looks a little magical.

Also both key and value must be specified on the command-line. This means if you decorate your test with [Trait("Category","Bug")] you cannot run only tests from a specific bug with out adding another trait ([Trait("Bug","8675309"])

These traits help solve those problems.

Release Notes

Update project to netstandard1.1, include new categories

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on xunit.categories:

Repository Stars
imperugo/StackExchange.Redis.Extensions

Version History

Version Downloads Last updated
2.0.5 25,408 6/16/2021
2.0.4 488,206 12/4/2018
2.0.3 103,631 1/15/2018
2.0.2.1 542 1/12/2018
2.0.2 1,086 1/8/2018
2.0.1 5,160 8/29/2017
1.0.0.1 1,863 8/2/2017
1.0.0 1,843 11/29/2016