Feature requests for unit tests: Maintain the order of InlineData and Jump to InlineData row when "Jump to Source"

I prefer writing unit testa with lots of InlineData row. There two issues that arrises when having many case: 

1) The cases are not listed in the Unit Test UI in the same order as they are written. This is pretty annoying from a cognitive perspective. 

2) "Jump to source" isn't jumping to the InlineData row, instead to the end of the test function. 

3) Would be nice to sort/group the cases on state "Failed", "Sucess" etc. 

 

1
1 comment

Hello Niels Bosma,

Thank you for the suggestions! 

Request #1 aligns with an exising one: RSRP-471190 Display unit tests in the tree same way they are ordered in code file and request #2 already exists too: RIDER-79480 Navigate to concrete TestCase by double click in unit test menu. We would appreciate it if you could upvote those issues to indicate your interest in these features. 

Regarding the request #3, currently it is possible to filter tests by result using the following controls in Rider:

Would it be sufficient for your situation?

0

Please sign in to leave a comment.