Move analyzer tests to VerifyCS
#30803
Labels
area-analyzer
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
community-contribution
customer-reported
type-enhancement
Milestone
Current implementation of analyzers' tests is not actually that easy to read. Other analyzer-related repos in .NET ecosystem use
Microsoft.CodeAnalysis.Testing
library, which simplifies test setup process and allows to use visual markup for defining diagnostics locations. Using it in this repo will help with readability and simplify test setup for potential contributors in this field.I fully acknowledge that analyzer area has one of the least priorities among other tasks. I am happy to contribute, so I just want team's approve on this change, since this is not that much trivial (+1 dependency and quite a bit of infrastructure rework, even though I strogly believe this will make it better).
The text was updated successfully, but these errors were encountered: