SUnit

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

SUnit

Chris Uppal-3
Shouldn't TestCase class>>allTestSelectors only answer selectors of methods
that take no arguments ?

----------
allTestSelectors
    ^ self sunitAllSelectors select: [:each | ('test*' sunitMatch: each) and:
[each argumentCount = 0]]

----------

I realise I can override for my own test classes, but I can't see the point in
including the other selectors at all.  Am I missing something ?

    -- chris