xunit.analyzers 1.19.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 or v3. 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 v3: the analyzer package is referenced by the main
xunit.v3
NuGet package out of the box. If you choose to referencexunit.v3.core
instead, you can referencexunit.analyzers
explicitly.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 are using xUnit.net v3 and do not wish to use the analyzers package, replace the package reference to
xunit.v3
with the corresponding versions ofxunit.v3.core
andxunit.v3.assert
.If you are using 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 ofxunit.core
andxunit.assert
.If you are using xUnit.net v2 v2.2.0 or earlier: remove the reference to the
xunit.analyzers
NuGet package.
Analysis and Code Fix in Action
Latest Builds
Stable | Latest CI (how to use) | Build status | |
---|---|---|---|
v3 core framework | |||
v2 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.
Showing the top 20 packages that depend on xunit.analyzers.
Packages | 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.
|
1 |
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.
|
9 |
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.
|
10 |
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.
|
18 |
Version | Downloads | Last updated |
---|---|---|
1.19.0 | 1 | 16.01.2025 |
1.18.0 | 1 | 16.01.2025 |
1.17.0 | 2 | 04.12.2024 |
1.16.0 | 0 | 31.08.2024 |
1.16.0-pre.22 | 0 | 31.07.2024 |
1.15.0 | 0 | 08.07.2024 |
1.14.0 | 0 | 25.05.2024 |
1.13.0 | 0 | 27.04.2024 |
1.12.0 | 0 | 11.04.2024 |
1.11.0 | 0 | 16.02.2024 |
1.10.0 | 0 | 15.01.2024 |
1.9.0 | 0 | 05.01.2024 |
1.8.0 | 0 | 22.12.2023 |
1.7.0 | 0 | 09.12.2023 |
1.6.0 | 0 | 18.11.2023 |
1.5.0 | 0 | 11.11.2023 |
1.4.0 | 3 | 13.05.2024 |
1.4.0-pre.9 | 0 | 08.10.2023 |
1.3.0 | 0 | 18.09.2023 |
1.3.0-pre.19 | 0 | 02.09.2023 |
1.3.0-pre.13 | 0 | 07.08.2023 |
1.3.0-pre.6 | 0 | 21.07.2023 |
1.2.0 | 0 | 06.07.2023 |
1.2.0-pre.48 | 0 | 03.07.2023 |
1.2.0-pre.27 | 1 | 01.10.2024 |
1.2.0-pre.24 | 0 | 15.06.2023 |
1.2.0-pre.9 | 0 | 31.05.2023 |
1.2.0-pre.7 | 0 | 06.05.2023 |
1.1.0 | 0 | 04.12.2022 |
1.0.0 | 19 | 21.02.2024 |
0.12.0-pre.24 | 0 | 25.07.2022 |
0.12.0-pre.19 | 0 | 03.10.2021 |
0.10.0 | 13 | 31.01.2024 |
0.9.0 | 0 | 14.05.2018 |
0.8.0 | 0 | 19.11.2017 |
0.7.0 | 0 | 01.09.2017 |
0.6.1 | 0 | 15.08.2017 |
0.6.0 | 0 | 04.08.2017 |
0.5.0 | 0 | 25.06.2017 |
0.4.0 | 0 | 18.06.2017 |
0.3.0 | 0 | 20.05.2017 |
0.2.0 | 0 | 15.05.2017 |
0.1.0 | 0 | 05.05.2017 |