Skip to content

Enable xUnit1024 analyzer rule #34503

@alexvy86

Description

@alexvy86

Rule 1024 in the xUnit analyzers looks for test methods that have overloads and flags them as compilation errors. Right now it is explicitly disabled, even though it is important because different test runners can behave differently when they encounter overloads for a test method. E.g., xUnit's console runner doesn't seem to mind, but the VS runner gets confused and tests end up failing:

image

image

Per the discussion here I'm creating this issue to track the renaming of test methods across all projects in this repo, so the rule can be enabled.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions