openrewrite / rewrite-testing-frameworks

OpenRewrite recipes that perform common Java testing migration tasks.
Apache License 2.0
68 stars 59 forks source link

Migration for ArchUnit 0.2.* to 1.2.* #431

Closed SimonVerhoeven closed 7 months ago

SimonVerhoeven commented 7 months ago

What problem are you trying to solve?

A migration from ArchUnit <1 to 1.* which contains some breaking changes in JavaPackage

What precondition(s) should be checked before applying this recipe?

-

Describe the situation before applying the recipe

For example getAllClasses

Describe the situation after applying the recipe

getClassesInPackageTree

Have you considered any alternatives or workarounds?

No

Any additional context

Where would the recipe ideally be added, a setup akin to rewrite-micronaut might be overkill?

Are you interested in contributing this recipe to OpenRewrite?

Yes, I have one ready that fulfils my current needs. I was just pondering where to best put it.

timtebeek commented 7 months ago

Since it's mostly a library used for tests I think rewrite-testing-frameworks would suit best, thanks!