JUnit - Configuration to run tests of a certain profile

Answered

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

0
1 comment

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.

0

Please sign in to leave a comment.