From: csmajohnson <csm...@ho...> - 2003-03-22 17:31:02
|
Text runner is the way....The GUI is too slow and clumsy, once you get above about 15-20 tests the scrolling of the tree as the tests execute is excruciatingly slow. Worse than watching paint dry. --mike -- > -----Original Message----- > From: dun...@li... [mailto:dunit-interest- > ad...@li...] On Behalf Of Kristofer Skaug > Sent: Thursday, March 20, 2003 10:44 AM > To: Dunit-Interest > Subject: [DUnit-interest] GuiTestRunner - run automatically > > > I'm looking at the possibility to run a test automatically after launching > a > compiled test executable, so that the test will run without someone first > pressing <Enter>. > > So far I've come up with this clumsy code in the main program block: > > // instead of GUITestRunner.RunRegisteredTests; > with TGUITestRunner.Create(nil) do > begin > try > Suite := RegisteredTests; > Show; > RunActionExecute(nil); // Ugly! > finally > // If I want GUI to stay on-screen after test: > // Hide; > // ShowModal; > Free; > end; > end; > > Does anybody have a more elegant solution for this? > (please ...! <g>) > > TIA, Kristofer > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Tablet PC. > Does your code think in ink? You could win a Tablet PC. > Get a free Tablet PC hat just for playing. What are you waiting for? > http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en > _______________________________________________ > Dunit-interest mailing list > Dun...@li... > https://lists.sourceforge.net/lists/listinfo/dunit-interest |