You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now our tests use resource files for in and outputs, but these mean there's a disconnect between a test method and what it actually verifies.
Describe the solution you'd like
With text blocks and JavaFileObjects.forSourceString we can instead adopt a test style similar to what we use elsewhere in OpenRewrite. That should help familiarity, and seeing at a glance what a test verifies.
My quick attempts so far have failed to produce a working setup with Gradle; something to do with toolchains that I think I'm close to, but some help would be appreciated to get this in.
What problem are you trying to solve?
Right now our tests use resource files for in and outputs, but these mean there's a disconnect between a test method and what it actually verifies.
Describe the solution you'd like
With text blocks and
JavaFileObjects.forSourceString
we can instead adopt a test style similar to what we use elsewhere in OpenRewrite. That should help familiarity, and seeing at a glance what a test verifies.Additional context
The
compileSource
method above as already been added inThe text was updated successfully, but these errors were encountered: