moq.analyzers icon indicating copy to clipboard operation
moq.analyzers copied to clipboard

Set of analyzers for Moq mocking library

Results 24 moq.analyzers issues
Sort by recently updated
recently updated
newest added

Test the various ways the analyzer could be disabled and ensure the analyzer does not throw up a warning. Ideally this would be checked prior to registering for any work

triage

In #89 new analyzers are added. This issue is keeping track of the issues flagged by the newly added analyzers - [C# Guidelines](https://github.com/dennisdoomen/CSharpGuidelines) - [ ] [AV1500](https://github.com/dennisdoomen/CSharpGuidelines/blob/5.7.0/_rules/1500.md) - [x] [AV1708](https://github.com/dennisdoomen/CSharpGuidelines/blob/5.7.0/_rules/1708.md)...

housekeeping
.NET
triage

- [ ] Package icon - [x] README badges - [x] Add README to package

help wanted

The perf comparison tools introduced in #119 use private pre-release packages for console rendering, etc. The project should be updated to use stable OSS packages from NuGet. This has caused...

triage

Given ```csharp public class TestClass { public virtual Task TaskAsync() => Task.CompletedTask; } ``` Two cases: 1. Mock has no setup corresponding to the specified invocation When `new Mock(MockBehavior.Strict).Object.TaskAsync();` executes...

enhancement
.NET
triage
analyzers

`NoConstructorArgumentsForInterfaceMockAnalyzerTests` has a doppleganger test to ensure that it doesn't flag a user's class that happens to also be named `Mock`. We should: 1. Expand this scenario to cover all...

housekeeping
.NET
triage

Many devs have strong opinions on `MockBehavior.Strict`, `MockBehavior.Loose` and the default behavior (Loose). We should find a way to balance letting devs enforce the rules they want while not enforcing...

enhancement
help wanted
.NET

# Refactor to IOperation explained ## What's All This About? The code analyzers and fixes in this repo directly use the C# syntax tree and the semantic model to detect...

.NET
triage
analyzers

I'm not sure we're following best practices for the strings for analyzers. - [ ] Currently our `Message` doesn't accept any format strings, it probably belongs in `Description` instead -...

housekeeping
.NET
analyzers