how to profile JUnit test run from Intellij Idea with VisualVM

intellij-idea, junit, profiling, visualvm

Solution

There is a plugin for JVisualVM mentioned in this question. With it, you can also run test cases.

Problem

How to profile JUnit test run from Intellij Idea with VisualVM? VisualVM doesn't see any process? is it possible to do?

Original source

Related problems