OrderedCollection>>beginOfTest <begin> self add: 1; add: 2
Point>>test <test> self assert: lastIndex - firstIndex = 1. self assert: (array includes: 1). self assert: (array includes: 2). ...
I do not know but indeed rethinking SUnit based on the need we have would be good.
Another idea I saw in a Java testing framework is the possibility to group-tests, so you can add an annotation like <group: #windows> or <group: #slow> and the test runner would allows to run (or filter out) specific groups.
I see indeed this way you can tests without violating encapsulation.
I wonder where I can find some documentation about SUnitToo, I am really interested to see what they did there. I started to play a bit with the existing framework and see what tools could be useful ...
You should ask travis on vw and discussed with adrian kuhn since he is using it in moose.
Stef
Lukas
-- Lukas Renggli http://www.lukas-renggli.ch