benjaminlong/QtTesting — comment on commit 03c35187d3c543f6f70ba7f663f36fa15479c7fb
File: pqTestUtility.cxx line 185
By finetjul:

prefer:
if (something wrong test)
{
success = false;
}
emit this->stopped(filename, success);
if (!success)
{
break;
}

even better:
success = (something wrong test)