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
{{ message }}
Repository navigation
VS "Show in Test Explorer" doesn't work for F# #14632
@vzarytovskii That's the issue I was talking to you about when I joined and totally forgot to log.
I haven't investigated the issue but my understanding is that this is linked to some incorrect position being either detected or reported (I would think this is some improvement we need to do on TP but not 100% sure). If @nohwnd hasn't replied in the meantime, I will try to understand TP code logic and see if my assumption is right or not.
I checked and the information returned from code information is correct. Both c# test and f# test return the first line after method definition as the location of the test. Clicking on the location of the test in TestExplorer correctly jumps to the test in the editor in both cases.
Going back from F# test does not work, as reported. Posting this to internal group for further investigation in VS.
Activity
vzarytovskii commentedon Jan 19, 2023
perhaps @MarcoRossignoli @nohwnd or @Evangelink know whether we can do anything on our side to improve it?
Evangelink commentedon Jan 19, 2023
@vzarytovskii That's the issue I was talking to you about when I joined and totally forgot to log.
I haven't investigated the issue but my understanding is that this is linked to some incorrect position being either detected or reported (I would think this is some improvement we need to do on TP but not 100% sure). If @nohwnd hasn't replied in the meantime, I will try to understand TP code logic and see if my assumption is right or not.
nohwnd commentedon Jan 20, 2023
I checked and the information returned from code information is correct. Both c# test and f# test return the first line after method definition as the location of the test. Clicking on the location of the test in TestExplorer correctly jumps to the test in the editor in both cases.
Going back from F# test does not work, as reported. Posting this to internal group for further investigation in VS.
nohwnd commentedon Jan 20, 2023
The unknown namespace looks like a possible cause, but I don't know how exactly tests are located in TE.

0101 commentedon Jan 20, 2023
@nohwnd it happens even if there is no
<Empty Namespace>anywhere in the test tree.