Compile and run UnitTest for Java (or Scala) Application in Docker
Answered
Hi,
I know that you can remotely debug a Java application in Docker from Intellij but is there a way to compile and run the unit tests in a Docker container (Java or Scala) ?
Thanks
JF
Please sign in to leave a comment.
Hello,
Unfortunately there is no such a tool in current version of IntelliJ IDEA, but it is planned for 2020.1.
Hi,
Any update on this ? I tried with below and couldn't find a way to make this work (have remote debugging with IJ with the app running in docker container working, and would really like this functionality too - cmd-line mvn test cmd running in the container is the workaround for now)
IntelliJ IDEA 2020.1.2 (Community Edition)
Build #IC-201.7846.76, built on June 1, 2020
Non-Bundled Plugins: org.jetbrains.kotlin, Docker
Best regards and keep up the good work,
KL
Olga Klisho do you have a ticket for this feature in YouTrack?
the information you provide on this website has helped me tremendously. TV Series Jackets Thanks for all of your time & work.
Hello, the feature will be available through one EAP.
Olga Klisho do you have a ticket id so i can follow the progress?
Zoran Zaric,
There is the ticket, but unfortunately it's internal. I'll update the status here as soon as the feature becomes available.
thanks!
Hi Olga Klisho any update on this, very excited for this feature to be available.
Hello Angus Scott,
You may try the latest IntelliJ IDEA version: https://confluence.jetbrains.com/display/IDEADEV/IDEA+2020.2+latest+builds
And enabled the "run.targets" in "Tools | Internal actions | Experimental features..":
For those who didn't find "Tools | Internal actions" menu item:
https://jetbrains.org/intellij/sdk/docs/reference_guide/internal_actions/enabling_internal.html
And as I understood this experimental feature is not available under Windows cause I don't have ability to add New Managed Target.