Unit Test Runner Warming - "All unit tests finished, but process still running"

Answered

Hi,

Is it possble to turn off this warming popup? Our project is making use of RavenDB which allows to for creating and viewing an in-memory database. We create this database during test-run, which then spawns the database GUI in another thread, which is what we want, so that we can continue to investigate the database after the the tests have executed. But resharper constantly gives the error popup below which is very annoying as for obvious reasons we do not wish to abort the test runner as it contains the thread in which our unit test database is runnning. 

"All unit tests finished, but process still running.Abort?"

0
3 comments
Official comment

Hello Frank,

It looks similar to https://youtrack.jetbrains.com/issue/RSRP-462339. New settings have been added to ReSharper Options to adjust showing such a dialog behavior in ReSharper 2017.1 EAP builds https://www.jetbrains.com/resharper/eap/.

Thanks! 

That case doesn't fix the core problem. The core problem is that the test runner is not tracking the test teardown.

See this case https://youtrack.jetbrains.com/issue/RSRP-461047

0
Avatar
Permanently deleted user

Try run tests using VS standard test explorer. In my case, it gave me the exact stack trace to the real issue in the code. It was an exception during disposal of the very unrelated object. But still, it was the cause.

0

Please sign in to leave a comment.