ionide / ionide-vscode-fsharp

VS Code plugin for F# development
http://ionide.io
MIT License
865 stars 279 forks source link

no test run for project #1993

Open jkone27 opened 8 months ago

jkone27 commented 8 months ago

Describe the bug

cannot debug tests in Ionide, and no tests are run for the project.

The test explorer might be out of sync. Try running a higher test or refreshing the test explorer

src

Steps to reproduce

open a solution in .NET 8 with F# projects, with integration tests running on C# (F# test reference C# project)

try to run and debug some tests, the breakpoint in C# code are not hit anymore,

the debugger freezes and does not start, when click continue, a message "no test where run" shows up.

Link to sample reproduction

Expected behaviour

test run and debug is available

Screenshots

image image Screenshot 2024-03-13 at 17 59 57

Machine info

MangelMaxime commented 8 months ago

@jkone27 I think it could help maintainers if you were able to provide a reproduction repository.

Like that they can jump directly into fixing the issues instead of having to try to replicate the bug by setting up everything.

jkone27 commented 6 months ago

i am in a a shared solution use case (both C# and F#), usually .csproj with .fsproj xunit integration tests on C# webproj

will try to repro, but is anyone able to run tests fine in mixed solutions with C# devkit + ionide test explorer for example

when you have mixed C# unit tests (C# dev kit) and F# unit tests (ionide)