If an assert triggers during tests it means it will fire in the production code. All asserts should be removed prior to testing (which is easy - just build your app in release mode). If you still want to test the conditions, substitute asserts with regular checks and exit the function gracefully.
If you insist on asserts not killing your application, redefine the assert/Q_ASSERT macro to do something else than abort the process.
Bookmarks