You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 17, 2019. It is now read-only.
There doesn't seem to be a way to clean up all registered tests explicitly. In my application I am loading shared libraries (plugins) that each have their own set of unit tests. During testing, the main application will load a plugin, run its tests, and unload the plugin after the tests have completed, and continue to the next plugin.
The problem I'm having is that once a plugin is loaded and has registered its unit tests with googlemock, there is no way to remove these tests ever. Unloading the plugin creates dangling pointers and crashes the application at a later point.