You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Double-clicking an element in the Test Explorer view will navigate the user to the file/line number in the editor that holds the definition of that Test Explorer element.
File - open the file, place the cursor at the top.
Suite - open the file containing the suite, place the cursor at the beginning of the line where the class (suite) is declared.
Function - open the file containing the function, place the cursor at the beginning of the line where the function is declared.
This may require extending the model we use for our tests a bit, or extending the API we make available to the TreeViewHandler. Today, we can run a specific test can we navigate to it from anyplace? If there is a trivial or well known call that can do this today, it may lower this task's complexity a bit!
Test for completion:
Double-clicking on a file in the test explorer view puts my cursor at line 1, col 1 of that file.
Double-clicking on a suite in the test explorer view puts my cursor at the line the suite/class is declared, col 1.
Double-clicking on a function in the test explorer view puts my cursor at the line the function is declared, col 1.
This is no longer done by Double clicking , but by clicking Open icon. Also the cursor does not move, but the focus is changed to the correct place. If this is the expected behavior Don Jayamanne (@DonJayamanne) , go ahead and close it.
Activity
d3r3kk commentedon Feb 5, 2019
Code Lense provider has this today, we will need to make use of it in a new API that we will share with the Test Explorer.
karrtikr commentedon Feb 9, 2019
This is no longer done by
Double clicking, but by clickingOpenicon. Also the cursor does not move, but the focus is changed to the correct place. If this is the expected behavior Don Jayamanne (@DonJayamanne) , go ahead and close it.DonJayamanne commentedon Feb 10, 2019
Let's get clarification from PMs