Feature Suggestions

Select current test in test window without unpin/pin it?

Started by GreenMoose on 10,646 views

v2.6.0.3

I would like a way to focus the current test in the tests window. Now I need to unpin/pin it to get it focused (which I guess might also rerun it if "only pinned" tests are to be run automatically?).

Thanks.
This was, actually, the inspiration behind the 'pinned test' idea.

The idea was that we needed some way to be able to select a test in the Tests Window based on context (i.e. current line of code, etc).

There were problems with just trying to select a test, as the filters in the Tests Window very often would remove the test from view. Hence the idea to 'pin' the test to the Tests Window, bypassing the filters.

I'm not sure how well such a feature would work if it didn't also pin the test being focused on. In the early alpha builds of NCrunch, the filters on the Tests Window greatly limited the usefulness of this approach, which is why it was discontinued.
How about refocusing it if pinning it when it is already pinned?
It is actually supposed to do this, although a quick test suggests that it isn't working correctly. I've noted this down for a fix. Thanks!

Post a reply

Log in to reply.