There is a usability problem with Run/Debug/Test popup menu items which is
partually described by
http://www.intellij.net/tracker/idea/viewSCR?publicId=3706 and also was
already discusssed by "creating runnable configurations and run/debug
context menu" thread. I will descrbe it more precisely.
Currently there is 2 menu items in the popup menu of an application class
(with main() method): Run and Debug. Both create a new run configuration (if
there is none for this class yet) and run or debug it correspondently. If
the checkbox "Display settings before running/debugging" is on, the dialog
with run confgiration parameters is shown allowing user to edit them before
running or debugging.
For a testcase class (or an individual test method) there is an additional
menu item "Test". It does the same as "Run" but does not create new run
We see the following problems with the current approach:
1. None seems to understand the different between "Run" and "Test".
2. There is no ability to debug a particular test without creating
configuration for it (similar to "Test" for running).
3. There is no ability similar to "Test" for application classes (see
In the build #814 we implemented another solution (unfortunately #814 or
later is not available for the community yet). There are always 3 menu items
(for application class, testcase class or an individual test method): Run,
Debug and Create. Run and Debug do not create new configurations and Create
creates a run configuration (but does not run anything). This solution does
not seem to be ideal however. At least, what is "Create" for does not seem
to be clear to the user.
Your opinions are very welcome.
"Develop with pleasure!"