Delphi TestInsight: running both DUnitX and DUnit tests in a test project
Posted by jpluimers on 2021/04/06
If you want to run both DUnitX and DUnit tests in a test project using TestInsight as runner encapsulation, then you need to be aware that when there are no DUnitX tests, it will raise an exception.
So use this code to prevent that:
try TestInsight.DUnitX.RunRegisteredTests; finally TestInsight.DUnit.RunRegisteredTests; end;
–jeroen
Leave a comment