Running Junit test methods - master to child

With previous IDEA version (4.x) I was able to run all the methods in a Test class. All the methods would show up in the Left pane of the Run window with their Pass/Fail status in a sort of a treeview format.

I was then able to right click on a test in the Run pane and run that unit test method individualy which resulted in a new run pane created leaving the "master" pane with all the test methods intact..

I can do this same thing with IDEA 5.0. Except now, the selected unit test method result replaces the "master" pane completely, instead of creating a new Run Pane to show the results.


this is annoying as I want to go back to the "master" pane and right click another unit test method to run individualy but it is replaced by the last test.

I can't figure out how to fix this.

help.

1 comment
Comment actions Permalink

Hello john,

One possibility is to right-click the tab header of the Run or Debug pane
and select "Pin Tab" from the context menu.

jl> With previous IDEA version (4.x) I was able to run all the methods
jl> in a Test class. All the methods would show up in the Left pane of
jl> the Run window with their Pass/Fail status in a sort of a treeview
jl> format.
jl>
jl> I was then able to right click on a test in the Run pane and run
jl> that unit test method individualy which resulted in a new run pane
jl> created leaving the "master" pane with all the test methods intact..
jl>
jl> I can do this same thing with IDEA 5.0. Except now, the selected
jl> unit test method result replaces the "master" pane completely,
jl> instead of creating a new Run Pane to show the results.
jl>
jl> this is annoying as I want to go back to the "master" pane and
jl> right click another unit test method to run individualy but it is
jl> replaced by the last test.
jl>
jl> I can't figure out how to fix this.
--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"


0

Please sign in to leave a comment.