-
-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clicking on unit test state filters gives unhelpful prompt #87
Comments
It's impossible for me to debug this since I rarely use Rider, let alone with projects having unit tests. If you like, you could turn on internal mode for Rider that allows you to see exactly what IntelliJ Action is behind the state filters. Open Tools | Internal Tools | UI Debugger, select the "Actions" tab (probably clear it first), and hit one of these state buttons.
|
Ah that's a useful little tool, thanks for flagging that up. There are a few unit test filters, they come through as follows:
I've also had a look in
As you can see the Looking at the keymap settings, there are a number of other filters that I didn't manage to trigger above. This screenshot may be helpful: I hope this helps. I think the ideal behaviour would be to prompt the user to add a shortcut (or remind them of the existing shortcut) for the actions, but I think suppression would be better than using the number of tests as the description of the action shown to the user. (Just for the sake of completeness, I've updated to Rider 2021.3 since originally opening this issue.) |
I looked into that in more detail. The way to go here is to create a blacklist for some actions so that the KPX doesn't show or store anything about particular actions. We already have this when you suppress a notification (Disable notification for this) but since the name of the action is always different, this wouldn't work here. However, I'm confident that I filter out I'll work on that for the next release and keep the issue open until it's fixed. Thanks a lot for the detailed report! |
Describe the bug
When I click on the unit test state filters, I am prompted to create shortcuts repeatedly based on the number of unit tests in a given state.
To Reproduce
Steps to reproduce the behaviour:
Expected behaviour
Ideally, prompt for a shortcut for the different test states (e.g. All Tests, Successful Tests, etc.) regardless of the number of tests within each state. If that's not possible, I think it would be better to not prompt at all for those buttons, rather than prompting for each different number of tests.
Screenshots
Please also provide:
The text was updated successfully, but these errors were encountered: