Replace [Trait("Category", ...)] with [Category]

Proprietary

Replace xUnit [Trait("Category", "X")] with TUnit's dedicated [Category("X")] attribute.

OpenRewrite.Recipes.CSharp.Migration.TUnit.FromXUnit.TraitCategoryToCategory
mod run . --recipe=OpenRewrite.Recipes.CSharp.Migration.TUnit.FromXUnit.TraitCategoryToCategory

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.