ionide-vscode-fsharp
ionide-vscode-fsharp copied to clipboard
new tests not recognised until project reload
Describe the bug
I am running a Fsharp console project on VS Code using the Ionide plugin. I added a test file using Nunit. However, when I add a new test to the test file, the test case only gets recognized when I reload the window using the command palette.
(Copy of this issue on stack overflow)
Steps to reproduce
Add additional unit tests in a module utilizing NUnit
Link to sample reproduction
Expected behavior
Test Explorer shows newly added test
Screenshots
Machine info
- OS: Linux (PopOs)
- .NET SDK version: 6.0.116
- Ionide version: 7.7.0
- vscode version 1.75.1 (441438abd1ac652551dbe4d408dfcec8a499b8bf)
Additional context
N/A
Does the new file get recognized as part of a project in the Solution Explorer? Test parsing only happens on files that are part of a Project, so if that step isn't happening that would explain this behavior.
Yes. If i have a file, right after starting VSCode the existing tests are shown; if I add a new test, the new one is not as per the following screenshot where I just added Example 3
my tests are not reckognized by vscode all times too, kind of struggling on this one too