xunit.analyzers
1.16.0
Prefix Reserved
Requires NuGet 2.12 or higher.
dotnet add package xunit.analyzers --version 1.16.0
NuGet\Install-Package xunit.analyzers -Version 1.16.0
<PackageReference Include="xunit.analyzers" Version="1.16.0"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add xunit.analyzers --version 1.16.0
#r "nuget: xunit.analyzers, 1.16.0"
// Install xunit.analyzers as a Cake Addin #addin nuget:?package=xunit.analyzers&version=1.16.0 // Install xunit.analyzers as a Cake Tool #tool nuget:?package=xunit.analyzers&version=1.16.0
About This Project
This project contains source code analysis and cleanup rules for xUnit.net. Analysis and fixes are only supported with C#.
Requirements: xUnit.net v2 2.0+. Supported in Visual Studio 2019 16.11+ or 2022 17.4+ (as well as via command line builds with Roslyn 3.11+). Other environments (such as Mono or JetBrains Rider) may be able to use these analyzers as well; support and issue resolution will be provided by those third parties and not by xUnit.net itself.
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
xUnit.net v2 2.3.0 and higher: the analyzer package is referenced by the main
xunit
NuGet package out of the box. If you choose to referencexunit.core
instead, you can referencexunit.analyzers
explicitly.xUnit.net v2 2.2.0 and earlier: you have to install the
xunit.analyzers
NuGet package explicitly.
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
Latest Builds
Stable | Latest CI | Build status | |
---|---|---|---|
v2 core framework | |||
v3 core framework | |||
xunit.analyzers | |||
xunit.runner.visualstudio |
For complete CI package lists, please visit the feedz.io package search. A free login is required.
About xUnit.net
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# and F# (other .NET languages may work as well, but are unsupported). 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).
For project documentation, please visit the xUnit.net project home.
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages (42)
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. |
|
Rocket.Surgery.Extensions.Testing
Package Description |
|
M5x.Testing
Macula Base Testing Library |
|
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. |
|
Naos.Database.Domain.Test
Created on 2021-02-14 15:30 |
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.16.0 | 602 | 8/31/2024 |
1.16.0-pre.22 | 3,320 | 7/31/2024 |
1.15.0 | 3,820,012 | 7/8/2024 |
1.14.0 | 5,715,179 | 5/25/2024 |
1.13.0 | 3,618,680 | 4/27/2024 |
1.12.0 | 2,693,528 | 4/11/2024 |
1.11.0 | 9,312,730 | 2/16/2024 |
1.10.0 | 6,506,636 | 1/15/2024 |
1.9.0 | 1,820,241 | 1/5/2024 |
1.8.0 | 1,305,688 | 12/22/2023 |
1.7.0 | 2,047,271 | 12/9/2023 |
1.6.0 | 4,201,487 | 11/18/2023 |
1.5.0 | 50,615 | 11/11/2023 |
1.4.0 | 8,711,497 | 10/13/2023 |
1.4.0-pre.9 | 15,264 | 10/8/2023 |
1.3.0 | 3,676,611 | 9/18/2023 |
1.3.0-pre.19 | 30,349 | 9/2/2023 |
1.3.0-pre.13 | 50,220 | 8/7/2023 |
1.3.0-pre.6 | 39,664 | 7/21/2023 |
1.2.0 | 11,904,678 | 7/6/2023 |
1.2.0-pre.48 | 4,407 | 7/3/2023 |
1.2.0-pre.27 | 18,807 | 6/21/2023 |
1.2.0-pre.24 | 10,632 | 6/15/2023 |
1.2.0-pre.9 | 36,592 | 5/31/2023 |
1.2.0-pre.7 | 49,928 | 5/6/2023 |
1.1.0 | 2,095,236 | 12/4/2022 |
1.0.0 | 85,354,681 | 8/1/2022 |
0.12.0-pre.24 | 488 | 7/25/2022 |
0.12.0-pre.19 | 70,021 | 10/3/2021 |
0.10.0 | 280,044,167 | 7/11/2018 |
0.9.0 | 1,152,403 | 5/14/2018 |
0.8.0 | 2,356,018 | 11/19/2017 |
0.7.0 | 26,648,422 | 9/1/2017 |
0.6.1 | 31,009 | 8/15/2017 |
0.6.0 | 175,707 | 8/4/2017 |
0.5.0 | 87,067 | 6/25/2017 |
0.4.0 | 6,326 | 6/18/2017 |
0.3.0 | 280,374 | 5/20/2017 |
0.2.0 | 7,465 | 5/15/2017 |
0.1.0 | 198,605 | 5/5/2017 |