GU0082

November 24, 2021 ยท View on GitHub

TestCase is identical to other

TopicValue
IdGU0082
SeverityWarning
EnabledTrue
CategoryGu.Analyzers.Correctness
CodeTestMethodAnalyzer

Description

TestCase is identical to other.

Motivation

ADD MOTIVATION HERE

How to fix violations

ADD HOW TO FIX VIOLATIONS HERE

Configure severity

Via ruleset file.

Configure the severity per project, for more info see MSDN.

Via #pragma directive.

#pragma warning disable GU0082 // TestCase is identical to other
Code violating the rule here
#pragma warning restore GU0082 // TestCase is identical to other

Or put this at the top of the file to disable all instances.

#pragma warning disable GU0082 // TestCase is identical to other

Via attribute [SuppressMessage].

[System.Diagnostics.CodeAnalysis.SuppressMessage("Gu.Analyzers.Correctness", 
    "GU0082:TestCase is identical to other", 
    Justification = "Reason...")]