How to run junit test case after bootRun (server startup) using gradle

935 views Asked by At

In my spring boot application I have junit test case. I implemented with application listener which will do certain task after server start up. Now I need to run the Junit test case after the bootRun. Basically the application runs like this., I am using gradle build script.

compile->build (running junit test cases)->bootRun

Can we run the test case after bootRun?

Thanks in advance

0

There are 0 answers