Sunit TestSuite from TestRunner
rrobbes
rrobbes at info.unicaen.fr
Sat Aug 7 21:59:57 UTC 2004
Hi Tom,
The latest version of BrowseUnit allows you to run all the tests
of a package (from PackageInfo) automatically. But you have to
install it, with it's prerequisites.
HTH,
Romain
Thomas Koenig a écrit:
> 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
|