Let´s say I´m implementing a feature for a web app in Springboot. I´ll need to run the app and access it through my browser, run unit tests, integration tests, and debug the app.
What are some common practices for setting up my local dev environment, when working for a company?
One basic setup could be tu run everything (all tests, debug, etc.) locally using my local JDK and local DB.
Another could be use my local JDK and Tests containers (for the DB) to run the app, debug, and integrations tests. Unit tests will only use the JDK.
Another option could be run everything in a docker container, to run the app, debug, run all tests. The problem here will be to integrate IntelliJ so I can debug, live reload, see the test results within the environment, etc.
Hernan Gonzalez Buteler is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.