Ability to rerun last test / application / whatever was run

It would be really helpful if you could re-run (or re-debug) the last executed test/application with a single shortcut.

Right now (and someone please correct me if I'm wrong), you can only re-run the last test/application using ctrl-F5 after you give the run/debug window the focus (using Alt-5)
It would be really nice if I could rerun the last test without switching edit window focus with a single shortcut (so that focus remains in the code edit window)

Use case is this:

I write code / tests
I run the test, it fails
I fix code
I want to quickly and easily rerun the test with the least amount of messing about
I move on to fixing the next failing test case

Eclipse does this very well (so if you need to see it in action you can see it there), and having used both IDEA and Eclipse side by side recently, this is one of the most common features (and the most often complained about by Eclipse users here) that IDEA cant easily re-run last executed test.

2 comments
Comment actions Permalink

Hello Nick,

It would be really helpful if you could re-run (or re-debug) the
last executed test/application with a single shortcut.

Use case is this:

I write code / tests
I run the test, it fails
I fix code
I want to quickly and easily rerun the test with the least amount of
messing about
I move on to fixing the next failing test case


The last used run configuration, even temporary, is placed into the combobox
in toolbar. ShiftF10 runs it. So, ShiftF10 should probably do the job?

Alexander.


0
Comment actions Permalink

As long as you ignore the focus change and pointless editor scroll, this works fine :)

0

Please sign in to leave a comment.