Add @SpringBootTest to classes using DropwizardAppExtension
ProprietaryAdds @SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT) to test classes that contain a DropwizardAppExtension field, when no Spring test annotation is already present.
io. moderne. java. dropwizard. boot. test. AddSpringBootTestForDropwizardAppExtensionmod run . --recipe= io. moderne. java. dropwizard. boot. test. AddSpringBootTestForDropwizardAppExtensionInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.