Qualify [Test] where a declared type shadows it

Proprietary

Write TUnit's [Test] as [TUnit.Core.Test] where the enclosing classes, the file, or the namespace or an enclosing one declare a type named Test or TestAttribute, so that the test stays a test.

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

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