Start Spring Boot tests of a Camunda 7 REST API in a mock servlet environment
ProprietaryCamunda 7's REST API starter registers its Jersey application at the path Spring Boot's Jersey support gives it, which only a servlet web application has, so a @SpringBootTest with WebEnvironment.NONE can't start an application with the starter, which Camunda's Spring Boot archetype generates such tests for. Those tests get WebEnvironment.MOCK, Spring Boot's default, which starts no server either.
io. moderne. camunda. camunda8. UseMockWebEnvironmentForCamunda7RestTestsmod run . --recipe= io. moderne. camunda. camunda8. UseMockWebEnvironmentForCamunda7RestTestsInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.