-
Notifications
You must be signed in to change notification settings - Fork 55
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
towards sorting on test state #129
base: master
Are you sure you want to change the base?
Conversation
Hello, I'm not the author, but let me give some feedback. Your feature could be orthogonal with the sorting. It could be a separate boolean instead of a new enum. Because the remaining tests now are sorted by label but someone might don't want that. |
Otoh you usually want to sort by test state to focus on the failing ones and ignore the rest. |
I added Trass3r@e3aaad4, works perfectly. |
I installed the debug version of the extension (after merging the main branch into it). The sorting works, however the list is not re-sorted after a test run. When I re-sort manually, it works. Ideally, the failing tests would automatically float to the top after each test run. I second @matepek's suggestion to make this a boolean option, even defaulting to true maybe: we should be able to sort by failure state, then by label or by location or by whatever the user chooses. |
The list is eventually re-sorted, just not after a failing test run. I'm using https://github.com/meakbiyik/vscode-r-test-adapter to drive the tests. |
I currently don't have time to work on this, but if someone addresses these points, I'd gladly merge this PR. |
Towards addressing #103
This would a allow a minimal capability of sorting by failed tests first.