xunit.analyzers 1.2.0-pre.24

Prefix Reserved
This is a prerelease version of xunit.analyzers.
There is a newer version of this package available.
See the version list below for details.

Requires NuGet 2.12 or higher.

dotnet add package xunit.analyzers --version 1.2.0-pre.24                
NuGet\Install-Package xunit.analyzers -Version 1.2.0-pre.24                
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.2.0-pre.24" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add xunit.analyzers --version 1.2.0-pre.24                
#r "nuget: xunit.analyzers, 1.2.0-pre.24"                
#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.2.0-pre.24&prerelease

// Install xunit.analyzers as a Cake Tool
#tool nuget:?package=xunit.analyzers&version=1.2.0-pre.24&prerelease                

About This Project

Build Status NuGet Package NuGet Downloads MyGet Preview Package

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

Requirements: xUnit.net v2.0+ and Visual Studio 2022 or later (early 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 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

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 ReSharper, CodeRush, TestDriven.NET and Xamarin. 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

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.

Reo.Core.Testing

Package Description

Reo.Core.IntegrationTesting

Package Description

Rocket.Surgery.Extensions.Testing

Package Description

M5x.Testing

Macula Base Testing Library

GitHub repositories (155)

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/roslyn
The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
dotnet/runtime
.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
marticliment/UniGetUI
UniGetUI: The Graphical Interface for your package managers. Could be terribly described as a package manager manager to manage your package managers
MahApps/MahApps.Metro
A framework that allows developers to cobble together a better UI for their own WPF applications with minimal effort.
Version Downloads Last updated
1.17.0 2,436 11/8/2024
1.16.0 4,432,054 8/31/2024
1.16.0-pre.22 8,259 7/31/2024
1.15.0 10,612,113 7/8/2024
1.14.0 7,810,251 5/25/2024
1.13.0 4,721,318 4/27/2024
1.12.0 3,345,428 4/11/2024
1.11.0 11,037,520 2/16/2024
1.10.0 7,418,528 1/15/2024
1.9.0 2,050,416 1/5/2024
1.8.0 1,443,245 12/22/2023
1.7.0 2,298,561 12/9/2023
1.6.0 4,653,337 11/18/2023
1.5.0 55,365 11/11/2023
1.4.0 11,204,124 10/13/2023
1.4.0-pre.9 17,370 10/8/2023
1.3.0 3,967,991 9/18/2023
1.3.0-pre.19 32,185 9/2/2023
1.3.0-pre.13 54,696 8/7/2023
1.3.0-pre.6 45,967 7/21/2023
1.2.0 12,732,303 7/6/2023
1.2.0-pre.48 5,689 7/3/2023
1.2.0-pre.27 21,409 6/21/2023
1.2.0-pre.24 12,077 6/15/2023
1.2.0-pre.9 40,009 5/31/2023
1.2.0-pre.7 53,375 5/6/2023
1.1.0 2,261,638 12/4/2022
1.0.0 91,020,459 8/1/2022
0.12.0-pre.24 523 7/25/2022
0.12.0-pre.19 70,989 10/3/2021
0.10.0 286,628,264 7/11/2018
0.9.0 1,166,978 5/14/2018
0.8.0 2,380,726 11/19/2017
0.7.0 27,038,607 9/1/2017
0.6.1 31,207 8/15/2017
0.6.0 176,313 8/4/2017
0.5.0 87,630 6/25/2017
0.4.0 6,369 6/18/2017
0.3.0 282,123 5/20/2017
0.2.0 7,509 5/15/2017
0.1.0 199,065 5/5/2017