I am using Rider on Mac version 2021.1.2 and what I noticed is that when I run tests UniTest window for rider, there are times when even after tests are done executing, rider does not close session and the session is on forever.
I have been using Rider for a while and I have not seen this behavior before. Attaching a screen shot for the reference[
Is it a Rider bug or if there is anything I can do to deal with this?
There is a mechanism in Rider/ReSharper which detects that the test runner or dotnet process runs indefinitely due to different reasons. It shows you the following dialog in such cases:
If you don't get this dialog, check the selected options for If the ... process does not exit after
settings on the Preferences/Settings | Build, Execution, Deployment | Unit Testing | Test Runner
page.