Philzen / rewrite-TestNG-to-JUnit5

An OpenRewrite recipe to migrate your project from TestNG to JUnit 5 (Jupiter)
3 stars 0 forks source link

`public static` inner classes migration #30

Open Philzen opened 2 months ago

Philzen commented 2 months ago

Simply add @Nested annotation to public static inner classes and remove their static keyword.

Philzen commented 2 months ago

This feature is implemented and available on main via the org.openrewrite.java.testing.junit5.AddMissingNested recipe.

However it should be reviewed that inner classes that don't have both public and static are not annotated / changed, thus leaving this issue open for review now.