java - Cucumber and Spring boot integration -
i have rest/spring application using cucumber integration test. start spring boot maven following config during integration test phase.
<plugin> <groupid>org.springframework.boot</groupid> <artifactid>spring-boot-maven-plugin</artifactid> <executions> <execution> <id>pre-integration-test</id> <goals> <goal>start</goal> </goals> <configuration> <arguments>--server.port=${server.port}</arguments> </configuration> </execution> <execution> <id>post-integration-test</id> <goals> <goal>stop</goal> </goals> </execution> </executions> </plugin>
but cucumber not wait spring boot startup, run before started. there way sync them? thanks
Comments
Post a Comment