Lucas Marques
08/18/2021, 5:27 PMresources/application.yml
as the config file.
I want to create a specific package for each of this kinds of tests: unit, integration and end-to-end, but now I have a package only for unit tests.
The problem is: every time I run the unit tests, my Spring Boot application try to connect with Kafka and Postgres (but for this purpose, I don't need them). How can I avoid to connect with these tools when running my unit tests? Also, do you know some blog post or documentation that shows how to create distinct packages for each kind of tests? Thanks in advance 🙂Kirill Grouchnikov
08/18/2021, 6:33 PMLucas Marques
08/18/2021, 6:37 PMhho
08/18/2021, 6:48 PMLucas Marques
08/18/2021, 6:56 PMSaharath Kleips
08/18/2021, 9:08 PMfrogger
08/19/2021, 6:22 AM