dotnet / dotnet/fsharp

VS "Show in Test Explorer" doesn't work for F#

Open
#14,632 5 comments 0 reactions 0 assignees View on GitHub
AI-thinks-windows-only Area-VS Bug Impact-Medium
Dominant language
F#
Stars
4.3k
Forks
876
Avg merge
4d 22h
Merged PRs (30d)
144

Description

**Repro steps**

- In an F# solution
- Go to some Xunit/Nunit test (place cursor on definition line or inside the test code)
- Issue "Show in Test Explorer" command (either via context menu, Feature Search, or `Ctrl + E, S`)

**Expected behavior**

- Test Explorer is shown
- The test case is selected

**Actual behavior**

- Test Explorer is shown
- Some top-level test group is selected

**Known workarounds**

Find the test manually

**Related information**

Doesn't work on test function definition, module, namespace

Observed in these versions:
* 17.5 preview 3
* 17.6 preview 1

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.