RaelB 4 Posted August 1, 2020 Hi, I see if a class has the [TestFixture] attribute, then it will be included in the Test Suite. So it seems that the initialization TDUnitX.RegisterTestFixture(TMyTests); is not neccessary. Maybe it just a relic from the past, or does it still serve a purpose? Share this post Link to post
Stefan Glienke 2009 Posted August 1, 2020 (edited) Picking up tests solely by [TestFixture] only works if you use {$STRONGLINKTYPES ON} or somehow reference the testcase class - otherwise the linker will strip it. That is why TDUnitX.RegisterTestFixture usually is a better choice (imo) Edited August 1, 2020 by Stefan Glienke 1 Share this post Link to post