-
-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GD-90: Aborting test run from Visual Studio causes GdUnitRunner
file to persist
#90
Comments
Thanks for reporting this issue. |
GdUnitRunner
file to persist
close is already fixed with v1.1.1 please update your project |
Still seeing this after updating to 1.1.1. I've attached a minimum repro after an aborted test run retained the file |
Just for steps to reproduce
Please attach the test explorer logs |
After the breakpoint is hit, I hit the Stop debugging button. But I get the same outcome by cancelling the tests from the test explorer window. If by the logs you mean the Tests dropdown from the Output window of VS, that reads as follows:
|
Interesting, on Visual Studio Code the logs are different. Debugger attached
stdout: Godot Engine v4.2.1.stable.mono.official.b09f793f5 - https://godotengine.org
stdout: Vulkan API 1.3.260 - Forward+ - Using Vulkan Device #0: NVIDIA - NVIDIA GeForce RTX 4070 Ti
stdout: Load testsuite D:\development\workspace\gdUnit4Net\test\src\asserts\BoolAssertTest.cs
stdout: Testrun ends with exit code: 0, FailFast:False
Godot ends with exit code: 0
Run TestRunner ends with 0
========== Test run finished: 9 Tests (9 Passed, 0 Failed, 0 Skipped) run in 8.1 sec ========== looks like the stop do not terminate the process normal, i need to check this inside VS |
Looks like a VS Test issue So I can't really act on this issue as the test execution process is killed/crashed by the testhost.exe. For now, I suggest adding |
Works for me.
That'll still leave them on the disk, so I'll rather have them show up in the Git changes tab in VS where from they're easy to delete |
Yes, sorry, but unfortunately there's nothing I can do. |
The used Test Adapter version
1.1.0
The used Godot version
v4.2.2.stable.mono.official [15073afe3]
Operating System
Windows 11
Describe the bug
Running tests any which way I expect that after the run is complete, the GdUnitRunner_{GUID here}.cfg file is deleted. Instead the file remains, clogging up the project folder and git changes
Steps to Reproduce
Run tests from Visual Studio using the "Debug Tests" menu option from the right click menu and have a breakpoint set in the test method. Wait for the breakpoint to be hit and the execution halted and then, instead of continuing the run by clicking the Continue with the green arrow, press the "Stop debugging" with the red square.
Minimal reproduction project
No response
The text was updated successfully, but these errors were encountered: