-
Notifications
You must be signed in to change notification settings - Fork 345
VSTest stops process execution early #1900
Copy link
Copy link
Closed
Description
Coverlet is a code coverage tool which collects hit counts in methods and writes the result either into a file or memory. The result writing is done in the ProcessExit event handler of the current AppDomain. It seems that when using dotnet test, the testing framework doesn't wait until the AppDomain's ProcessExit execution is finished and terminates the test process early which leads to no coverage numbers.
coverlet-coverage/coverlet#210 (comment)
Can you please let me know which code path in vstest is responsible for shutting down the current process and explain why it doesn't wait until the process is correctly terminated (ProcessExit chain finished).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels