Moq.Analyzers 0.0.8

Roslyn analyzer that helps to write unit tests using Moq mocking library by highlighting typical errors and suggesting quick fixes. Port of Resharper extension to Roslyn. Find the full list of detected issues at project GitHub page.

Install-Package Moq.Analyzers -Version 0.0.8
dotnet add package Moq.Analyzers --version 0.0.8
<PackageReference Include="Moq.Analyzers" Version="0.0.8" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Moq.Analyzers --version 0.0.8
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Moq.Analyzers, 0.0.8"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Moq.Analyzers as a Cake Addin
#addin nuget:?package=Moq.Analyzers&version=0.0.8

// Install Moq.Analyzers as a Cake Tool
#tool nuget:?package=Moq.Analyzers&version=0.0.8
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Added a check for As() method to be used with interfaces only (contribution from cezarypiatek@)

  • .NETStandard 1.3

    • No dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Moq.Analyzers:

Package Downloads
Reo.Core.Testing
Package Description
Reo.Core.Testing.31
Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
0.0.8 167,657 8/11/2019
0.0.7 3,739 7/28/2019
0.0.6 216 7/28/2019
0.0.4.43043 45,395 11/26/2017
0.0.4.41458 580 11/26/2017
0.0.3.40797 567 11/26/2017
0.0.1.22865 494 11/26/2017