How to share profiles, env variables, etc across different tests?
I'm want to learn integration tests for my Spring Boot project, with JUnit and Mokito. I'm basically I want a integration test class for each one of my domain entities, it has its respective layers (controller, service, repository, etc.) In tests I want to separate with classes for test for each entity, but all of them share the "test" profile from my
application-test.yml and I would an unique execution point to no need to set the env variables for each executable test, in this case with IntelliJ IDEA.1 Reply
⌛ This post has been reserved for your question.
Hey @Franscis123$#! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./closeor theClose Postbutton above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically marked as dormant after 300 minutes of inactivity.
💤 Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping.
Warning: abusing this will result in moderative actions taken against you.