xunit.analyzers 1.3.0

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved

Requires NuGet 2.12 or higher.

dotnet add package xunit.analyzers --version 1.3.0
NuGet\Install-Package xunit.analyzers -Version 1.3.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="xunit.analyzers" Version="1.3.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add xunit.analyzers --version 1.3.0
#r "nuget: xunit.analyzers, 1.3.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install xunit.analyzers as a Cake Addin
#addin nuget:?package=xunit.analyzers&version=1.3.0

// Install xunit.analyzers as a Cake Tool
#tool nuget:?package=xunit.analyzers&version=1.3.0

About This Project

This project contains source code analysis and cleanup rules for xUnit.net.

Requirements: xUnit.net v2 2.0+ and Visual Studio 2022 or later (earlier versions of Visual Studio may work but are not officially supported).

Documentation: a list of supported rules is available at https://xunit.net/xunit.analyzers/rules/

Bugs and issues: please visit the core xUnit.net project issue tracker.

Building: see BUILDING.md.

How to install

How to uninstall

If you installed xUnit.net v2 2.3.0 or higher and do not wish to use the analyzers package, replace the package reference to xunit with the corresponding versions of xunit.core and xunit.assert

Analysis and Code Fix in Action

Analyzer in action animation

Latest Builds

<table> <thead> <tr> <th></th> <th>Stable</th> <th>Latest prerelease</th> <th>Latest CI</th> <th>CI status</th> </tr> </thead> <tbody> <tr> <th>v2 core framework</th> <td><a href="https://www.nuget.org/packages/xunit"><img src="https://img.shields.io/nuget/v/xunit.svg?logo=nuget"></a></td> <td><a href="https://www.nuget.org/packages/xunit/absoluteLatest"><img src="https://img.shields.io/nuget/vpre/xunit.svg?logo=nuget"></td> <td><a href="https://feedz.io/org/xunit/repository/xunit/packages/xunit"><img src="https://img.shields.io/badge/endpoint.svg?url=https%3A%2F%2Ff.feedz.io%2Fxunit%2Fxunit%2Fshield%2Fxunit%2Flatest"></td> <td><a href="https://actions-badge.atrox.dev/xunit/xunit/goto?ref=v2"><img src="https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Fxunit%2Fxunit%2Fbadge%3Fref%3Dv2&label=build"></td> <tr> <tr> <th>v3 core framework (<a href="https://xunit.net/docs/v3-alpha">alpha docs</a>)</th> <td>N/A</td> <td>N/A</td> <td><a href="https://feedz.io/org/xunit/repository/xunit/packages/xunit.v3"><img src="https://img.shields.io/badge/endpoint.svg?url=https%3A%2F%2Ff.feedz.io%2Fxunit%2Fxunit%2Fshield%2Fxunit.v3%2Flatest"></td> <td><a href="https://actions-badge.atrox.dev/xunit/xunit/goto?ref=main"><img src="https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Fxunit%2Fxunit%2Fbadge%3Fref%3Dmain&label=build"></td> <tr> <tr> <th>xunit.analyzers</th> <td><a href="https://www.nuget.org/packages/xunit.analyzers"><img src="https://img.shields.io/nuget/v/xunit.analyzers.svg?logo=nuget"></a></td> <td><a href="https://www.nuget.org/packages/xunit.analyzers/absoluteLatest"><img src="https://img.shields.io/nuget/vpre/xunit.analyzers.svg?logo=nuget"></a></td> <td><a href="https://feedz.io/org/xunit/repository/xunit/packages/xunit.analyzers"><img src="https://img.shields.io/badge/endpoint.svg?url=https%3A%2F%2Ff.feedz.io%2Fxunit%2Fxunit%2Fshield%2Fxunit.analyzers%2Flatest"></a></td> <td><a href="https://actions-badge.atrox.dev/xunit/xunit.analyzers/goto?ref=main"><img src="https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Fxunit%2Fxunit.analyzers%2Fbadge%3Fref%3Dmain&label=build"></a></td> </tr> <tr> <th>xunit.runner.visualstudio</th> <td><a href="https://www.nuget.org/packages/xunit.runner.visualstudio"><img src="https://img.shields.io/nuget/v/xunit.runner.visualstudio.svg?logo=nuget"></a></td> <td><a href="https://www.nuget.org/packages/xunit.runner.visualstudio/absoluteLatest"><img src="https://img.shields.io/nuget/vpre/xunit.runner.visualstudio.svg?logo=nuget"></a></td> <td><a href="https://feedz.io/org/xunit/repository/xunit/packages/xunit.runner.visualstudio"><img src="https://img.shields.io/badge/endpoint.svg?url=https%3A%2F%2Ff.feedz.io%2Fxunit%2Fxunit%2Fshield%2Fxunit.runner.visualstudio%2Flatest"></a></td> <td><a href="https://actions-badge.atrox.dev/xunit/xunit.runner.visualstudio/goto?ref=main"><img src="https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Fxunit%2Fvisualstudio.xunit%2Fbadge%3Fref%3Dmain&label=build"></a></td> </tr> </tbody> </table>

For complete CI package lists, please visit the feedz.io package search.

About xUnit.net

<img align="right" width="100px" src="https://raw.githubusercontent.com/xunit/media/main/dotnet-foundation.svg" />

xUnit.net is a free, open source, community-focused unit testing tool for the .NET Framework. Written by the original inventor of NUnit v2, xUnit.net is the latest technology for unit testing C#, F#, VB.NET and other .NET languages. xUnit.net works with Visual Studio, Visual Studio Code, ReSharper, CodeRush, and TestDriven.NET. It is part of the .NET Foundation, and operates under their code of conduct. It is licensed under Apache 2 (an OSI approved license).

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (43)

Showing the top 5 NuGet packages that depend on xunit.analyzers:

Package Downloads
xunit The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

xUnit.net is a developer testing framework, built to support Test Driven Development, with a design goal of extreme simplicity and alignment with framework features. Installing this package installs xunit.core, xunit.assert, and xunit.analyzers.

Rocket.Surgery.Extensions.Testing

Package Description

M5x.Testing

Macula Base Testing Library

Naos.Database.Domain.Test

Created on 2021-02-14 15:30

more.xunit

This package is a fork of xUnit.net. It contains all of the original functionality with the addition of enhanced test display names as described in PR 828 (https://github.com/xunit/xunit/pull/828) and proposed in Issue 759 (https://github.com/xunit/xunit/issues/759). The possible options are defined in the new TestMethodDisplayOptions enumeration. To enable all enhanced display name options, you must add the "xunit.methodDisplayOptions" application setting with the value "all". You must also use the "more.xunit.runner.visualstudio" package. The class and method name options are still controlled by the TestMethodDisplay enumeration and the "xunit.methodDisplay" application setting. xUnit.net is a developer testing framework, built to support Test Driven Development, with a design goal of extreme simplicity and alignment with framework features. Installing this package installs xunit.core, xunit.assert, and xunit.analyzers.

GitHub repositories (145)

Showing the top 5 popular GitHub repositories that depend on xunit.analyzers:

Repository Stars
microsoft/semantic-kernel
Integrate cutting-edge LLM technology quickly and easily into your apps
dotnet/runtime
.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
SignalR/SignalR
Incredibly simple real-time web for .NET
OrchardCMS/OrchardCore
Orchard Core is an open-source modular and multi-tenant application framework built with ASP.NET Core, and a content management system (CMS) built on top of that framework.
aspnet/Mvc
[Archived] ASP.NET Core MVC is a model view controller framework for building dynamic web sites with clean separation of concerns, including the merged MVC, Web API, and Web Pages w/ Razor. Project moved to https://github.com/aspnet/AspNetCore
Version Downloads Last updated
1.3.0 333,357 9/18/2023
1.3.0-pre.19 6,379 9/2/2023
1.3.0-pre.13 23,689 8/7/2023
1.3.0-pre.6 13,111 7/21/2023
1.2.0 4,556,056 7/6/2023
1.2.0-pre.48 3,066 7/3/2023
1.2.0-pre.27 9,940 6/21/2023
1.2.0-pre.24 4,874 6/15/2023
1.2.0-pre.9 18,898 5/31/2023
1.2.0-pre.7 26,024 5/6/2023
1.1.0 1,162,096 12/4/2022
1.0.0 51,196,742 8/1/2022
0.12.0-pre.24 347 7/25/2022
0.12.0-pre.19 63,566 10/3/2021
0.10.0 241,679,722 7/11/2018
0.9.0 1,084,606 5/14/2018
0.8.0 2,225,619 11/19/2017
0.7.0 24,203,670 9/1/2017
0.6.1 27,526 8/15/2017
0.6.0 168,542 8/4/2017
0.5.0 81,655 6/25/2017
0.4.0 3,034 6/18/2017
0.3.0 270,481 5/20/2017
0.2.0 4,224 5/15/2017
0.1.0 192,598 5/5/2017