Skip to content

Vannevelj/xunit.analyzers

 
 

Repository files navigation

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

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

About

Roslyn analyzers for xUnit.net (please open issues in https://github.com/xunit/xunit)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 94.3%
  • PowerShell 5.5%
  • Shell 0.2%