Sunit TestSuite from TestRunner
Thomas Koenig
tomkoenig at mindspring.com
Sat Aug 7 18:53:51 UTC 2004
I'd like to create a TestSuite of all the BFAV tests so I can execute
them all at a single click in TestRunner. So far I don't see how it's
done. I've read Beck's paper and browsed the images for examples and
still don't get the whole picture. I know enough to do something like
inspecting the following:
(TestSuite named: 'BFAV')
addTest: (ArchiveListingRowTest selector:
#testUnEscapeListingRowElement);
addTest: (ArchivePostBugTest selector: #testAsMailMessage);
addTest: (DecentReviewerNotePadTest selector: #testAddAttachment);
run
And I can figure out how to add the tests dynmaically. But I don't see
"where to put" such code so it can be evoked from TestRunner. Do I
subclass TestSuite or TestCase? What (sort of) method do I embed this
sort of code in?
Any examples or suggestions would be appreciated. Thanks
Tom
More information about the Squeak-dev
mailing list
|