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

Popular posts from this blog

php - Permission denied. Laravel linux server -

google bigquery - Delta between query execution time and Java query call to finish -

python - Pandas two dataframes multiplication? -