JUnit - Configuration to run tests of a certain profile
已回答
Please correct me if I'm wrong.
I recall to have read somewhere that the @Profile / @ActiveProfile are pretty much annotations for the IDE, right?
If that's the case, how can I set up a congiruation so I can run all tests that match a certain profile?
Thank you
请先登录再写评论。
Do you use Gradle in a Spring boot project? If yes, please check Passing active profile to spring bootRun task - does it help?
If not, could you elaborate (Run Configuration screenshots, the project type, the build system etc)? Thanks.