mardi 10 mai 2016

How do i execute bootRun and run functional test?

I have a spring boot application and i have tests that run on the server. I can run the tests after the host starts up by running both commands separately,but while i combine them using dependsOn,the spring boot application comes up but does not run the tests. I am guessing that the gradle task doesn't know if the server has started yet,and thats the reason. I have also tried mustTryAfter,doFirst and doLast.

I am using gradle.

Aucun commentaire:

Enregistrer un commentaire