[Seaside] Test Runner question

Keith Hodges keith_hodges at yahoo.co.uk
Thu Dec 27 19:15:45 UTC 2007


Tom Phoenix wrote:
> On Dec 27, 2007 12:59 AM, itsme213 <itsme213 at hotmail.com> wrote:
>
>   
>> I want to customize TestRunner with a class-side method so it opens with
>> just my classes from MyCategory in it e.g.
>>
>> TestRunner onMyStuff.
>>     
>
> I'd go about this in a different way. If you subclass TestRunner, you
> can reimplement #findCategories to return just the categories you
> want:
>
>   CustomTestRunner>>findCategories
>     ^ { 'MyCategory' }.
>
> Does that work for you? Good luck with it!
>
> --Tom Phoenix
>   
If you use the TestRunner that is in the dev image, the top left pane
has a list of published test suites. So you can make your own project
oriented test suites by customizing #publishedSuites on your TestCase
classes.

Keith





More information about the seaside mailing list