Skip to content

Enable/disable xUnit2029 rule #10599

@f-alizada

Description

@f-alizada

Context

After the #10577 is merged the new warnings of xunit analyzers were disabled. The goal is to check each warning and enable or leave as it is with explanation

https://xunit.net/xunit.analyzers/rules/xUnit2029

Goal

The goal is to enable the warning when Assert,Empty is used on the filtered collection.
Instead there is Assert.DoesNotContain(array, condition) could be used.

The pros of using this:

  • More readble test's code
  • Unified style in tests

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions