Unit test runner: How to figure out which tests I just ran?

Let's say I have tests A and B. I run test A, wait for it to finish. Now I run test B, wait for it to finish too. Note that I'm starting the tests from the editor by clicking the gutter icon and selecting "Run" there. In Unit test runner will I have both tests A and B, and there is no way to figure out which one I ran recently.

It's not that big of a problem when it's only two tests, but there will eventually be all the tests I ran, and it become really painful. So, for example, I already have 30+ tests in runner, and now I'm triggering a new test from the editor. I'm waiting for it to finish, open the runner and see all those 30+ tests and I gonna have to go to editor to see what was the name of test and then scan the runner for it.

There are ways to get around this, but they're not ideal. I either have to close the runner before starting a new test, or choosing Append to new session and only then running it. I guess it would be ideal for me if that behavior could be made the default one, is there a way to do it?

Also, probably I just understand the benefits of the way it works by default. What is the user scenario for the default behavior? How could I change my workflow to benefit from it?

Please sign in to leave a comment.