xunit - xunit.analyzers 0.11.0-pre.78+5f26c44bf4

Code Analyzers for projects using xUnit.net that help find and fix frequent issues when writing tests.

PM> Install-Package xunit.analyzers -Version 0.11.0-pre.78 -Source https://www.myget.org/F/xunit/api/v3/index.json

Copy to clipboard

> nuget.exe install xunit.analyzers -Version 0.11.0-pre.78 -Source https://www.myget.org/F/xunit/api/v3/index.json

Copy to clipboard

> dotnet add package xunit.analyzers --version 0.11.0-pre.78 --source https://www.myget.org/F/xunit/api/v3/index.json

Copy to clipboard
<PackageReference Include="xunit.analyzers" Version="0.11.0-pre.78" />
Copy to clipboard
source https://www.myget.org/F/xunit/api/v3/index.json

nuget xunit.analyzers  ~> 0.11.0-pre.78
Copy to clipboard

> choco install xunit.analyzers --version 0.11.0-pre.78 --source https://www.myget.org/F/xunit/api/v2

Copy to clipboard
Import-Module PowerShellGet
Register-PSRepository -Name "xunit" -SourceLocation "https://www.myget.org/F/xunit/api/v2"
Install-Module -Name "xunit.analyzers" -RequiredVersion "0.11.0-pre.78" -Repository "xunit" -AllowPreRelease
Copy to clipboard

Build Status Nuget Package NuGet Downloads MyGet Preview Package

About the project

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

Requirements: xUnit.net v2.0+ and Visual Studio 2015 Update 2 or later.

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

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

To build the project, you will need Visual Studio 2017. The VSIX project can be set as your startup project, to debug the analyzers inside a special instance of Visual Studio.

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 correspoding versions of xunit.core and xunit.assert

Analysis and Code Fix in Action

Analyzer in action animation

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#, 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).

Owners

Brad Wilson

Authors

Marcin Dobosz

Project URL

https://github.com/xunit/xunit.analyzers

License

Apache-2.0

Tags

xunit.analyzers, analyzers, roslyn, xunit, xunit.net

Info

446 total downloads
0 downloads for version 0.11.0-pre.78+5f26c44bf4
Download (114.25 KB)
NuGet 2.12 or higher
Found on the current feed only

Package history

Version Size Last updated Downloads Mirrored?
1.2.0-pre.9 134.61 KB Fri, 26 May 2023 02:05:43 GMT 0
1.2.0-pre.8 135.36 KB Sat, 06 May 2023 21:17:57 GMT 0
1.2.0-pre.7 134.06 KB Mon, 20 Mar 2023 20:26:39 GMT 0
1.2.0-pre.6 134.04 KB Mon, 20 Mar 2023 20:26:06 GMT 0
1.2.0-pre.5 133.98 KB Mon, 20 Mar 2023 20:25:56 GMT 0
1.2.0-pre.4 133.96 KB Sun, 19 Mar 2023 18:38:59 GMT 0
1.2.0-pre.3 133.97 KB Thu, 09 Mar 2023 04:22:21 GMT 0
1.2.0-pre.2 133.98 KB Sun, 04 Dec 2022 03:15:51 GMT 0
1.2.0-pre.1 133.95 KB Sun, 04 Dec 2022 02:43:15 GMT 0
1.1.0 133.88 KB Sun, 04 Dec 2022 02:28:21 GMT 0
1.1.0-pre.9 133.98 KB Sun, 04 Dec 2022 02:10:28 GMT 0
1.1.0-pre.8 133.96 KB Sun, 04 Dec 2022 01:52:43 GMT 0
1.1.0-pre.7 133.94 KB Sun, 04 Dec 2022 01:25:56 GMT 0
1.1.0-pre.6 133.9 KB Wed, 09 Nov 2022 00:20:25 GMT 0
1.1.0-pre.5 133.72 KB Thu, 15 Sep 2022 02:40:00 GMT 0
1.1.0-pre.4 133.76 KB Tue, 06 Sep 2022 05:31:45 GMT 0
1.1.0-pre.2 134.36 KB Sun, 07 Aug 2022 22:18:47 GMT 0
1.1.0-pre.1 134.38 KB Mon, 01 Aug 2022 22:02:59 GMT 0
1.0.0 134.36 KB Mon, 01 Aug 2022 20:17:02 GMT 0
0.12.0-pre.24 134.53 KB Mon, 27 Jun 2022 21:27:57 GMT 0
0.12.0-pre.20 122.51 KB Wed, 06 Oct 2021 19:22:36 GMT 0
0.12.0-pre.19 122.56 KB Sun, 03 Oct 2021 21:52:55 GMT 0
0.12.0-pre.18 122.44 KB Mon, 20 Sep 2021 21:45:58 GMT 0
0.12.0-pre.17 122.54 KB Mon, 20 Sep 2021 21:32:32 GMT 0
0.12.0-pre.16 122.57 KB Mon, 20 Sep 2021 01:35:38 GMT 0
0.12.0-pre.15 122.33 KB Mon, 20 Sep 2021 00:47:28 GMT 0
0.12.0-pre.12 121.49 KB Sun, 19 Sep 2021 22:39:05 GMT 0
0.12.0-pre.11 116.92 KB Sun, 19 Sep 2021 18:37:45 GMT 0
0.12.0-pre.9 116.12 KB Sat, 18 Sep 2021 21:19:49 GMT 0
0.12.0-pre.7 116.09 KB Tue, 14 Sep 2021 17:34:46 GMT 0
0.12.0-pre.5 116.06 KB Sat, 11 Sep 2021 18:34:23 GMT 0
0.12.0-pre.4 116.46 KB Fri, 10 Sep 2021 07:06:46 GMT 0
0.12.0-pre.3 116.48 KB Fri, 10 Sep 2021 07:02:02 GMT 0
0.12.0-pre.2 116.54 KB Fri, 10 Sep 2021 02:32:49 GMT 0
0.12.0-pre.1 116.47 KB Fri, 10 Sep 2021 01:02:39 GMT 0
0.11.0-pre.80+7e2ef1b1e6 114.26 KB Thu, 09 Sep 2021 07:27:35 GMT 0
0.11.0-pre.78+5f26c44bf4 114.25 KB Wed, 25 Aug 2021 19:06:16 GMT 0
0.11.0-pre.76+445d2883b1 113.78 KB Sat, 21 Aug 2021 22:09:11 GMT 0
0.11.0-pre.75+d35f71bfa5 113.71 KB Sat, 21 Aug 2021 22:08:03 GMT 0
0.11.0-pre.74+751008ed35 113.09 KB Sat, 21 Aug 2021 21:11:11 GMT 0
0.11.0-pre.71+552d14ca84 112.89 KB Thu, 01 Jul 2021 00:25:08 GMT 0
0.11.0-pre.69+fb3c95e933 111.19 KB Sun, 29 Nov 2020 23:49:23 GMT 0
0.11.0-pre.68+f61a2b0c44 111.2 KB Sun, 29 Nov 2020 23:37:11 GMT 0
0.11.0-pre.67+97c987a1cf 111.05 KB Sun, 23 Aug 2020 21:57:28 GMT 0
0.11.0-pre.66+77c3e144c2 111.03 KB Wed, 12 Aug 2020 01:53:05 GMT 0
0.11.0-pre.65+6f24be4274 111.03 KB Sun, 26 Jul 2020 07:38:46 GMT 0
0.11.0-pre.64+00fec62fcd 111.04 KB Sat, 25 Jul 2020 19:30:12 GMT 0
0.11.0-pre.62+610223cb5a 111.03 KB Sat, 25 Jul 2020 19:27:54 GMT 0
0.11.0-pre.46+2a2311d26c 110.08 KB Sat, 25 Jul 2020 19:08:22 GMT 0
0.11.0-pre.45+4643dc3262 110.1 KB Sat, 25 Jul 2020 19:07:52 GMT 0
0.11.0-pre.44+ebed82d182 110.56 KB Sat, 25 Jul 2020 19:06:00 GMT 0
0.11.0-pre.43+8f64166ca3 110.56 KB Mon, 06 Jul 2020 18:56:11 GMT 446