Nick McKinney
Nick McKinney
It looks like as of version 5.8.0 (Sept 2021), JUnit 5 has a full replacement available for the `Test Suite` functionality from JUnit 4: https://stackoverflow.com/a/69168139 https://junit.org/junit5/docs/5.8.0/release-notes/ https://junit.org/junit5/docs/5.8.0/user-guide/index.html#running-tests-junit-platform-runner https://junit.org/junit5/docs/5.8.0/user-guide/index.html#junit-platform-suite-engine As far...
I've tried to isolate this as best as I could, but I'm getting some bizarre behaviors, so bear with me. Consider the below test class, which runs `ParameterizedRunnerToParameterized` either by...
## What problem are you trying to solve? Currently, the `AddMissingMethodImplementation` checks primarily for existing method declarations on the visited class declaration. It does not check whether the visited class...
## What problem are you trying to solve? It would be neat to have a capability to convert a `class` to a `record` ## What precondition(s) should be checked before...
## What version of OpenRewrite are you using? rewrite-recipe-bom 2.5.1 ## How are you running OpenRewrite? maven plugin 5.14.1 ## What is the smallest, simplest way to reproduce the problem?...
test case: ```kotlin @Test fun `adds java version property if not present if spring-like parent`() = rewriteRun( pomXml(""" 4.0.0 org.sample sample 1.0.0 org.springframework.boot spring-boot-starter-parent 2.7.0 """.trimIndent(), """ 4.0.0 org.sample sample...
> NOTE: Requires Apache HttpComponents 5.1 or higher, as of Spring 6.0. https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/http/client/HttpComponentsClientHttpRequestFactory.html HttpComponents did a GAV change with 5, so projects with explicit dependencies on this library may be...
## What problem are you trying to solve? Use this shiny new property: https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-3.2-Release-Notes#properties ...as a replacement for calling `Hooks.enableAutomaticContextPropagation();` before booting the app, as mentioned in this blog post:...
## What problem are you trying to solve? Spring Framework 6.1 made this change: https://github.com/spring-projects/spring-framework/wiki/Upgrading-to-Spring-Framework-6.x?secureweb=Teams#parameter-name-retention Looking at the discussion behind that change (https://github.com/spring-projects/spring-framework/pull/29531), it seems that the Spring Team expects...
I was working with someone recently who was getting started with recipe development, using a Maven project. When trying to run their `SayHello` recipe, they ran into the cryptic recipe-deserialization...