TUnit: Test hangs when in debug mode - VSCode - dotnet 9
If running tests, it works just fine. If i go into debugging instead of running, then it straight up doesn’t do anything but hang.
Might be similar to https://github.com/thomhurst/TUnit/issues/1018, but i got a repo to test with.
Check out https://github.com/erwinkramer/bank-api/blob/main/BankApi.Tests/Program.cs where i have the ‘broken’ setup.
Running in the latest VSCode on Windows with the extensions as written in extensions.json and the VSCode setting as specified in settings.json.
By the way, it is a dotnet 9 project.
Trying to cancel the run is also unresponsive when it’s hanging:
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 1
- Comments: 15 (7 by maintainers)
Done
Yeah same happens for me - I reckon it’s worth opening an issue with them