On Mon, Aug 2, 2010 at 12:11 PM, Alexandre Bergel <[email protected]>wrote:
> > TestResult when: TestCaseStarts do: [:event | do some stuff ]. > > > > TestResult when: TestCaseEnds do: [:event | do some stuff ]. > > Currently, the announcer is stored in TestCase. For me, it looks more > intuitive to do > MyTestCase announcer on: TestCaseAnnouncement do: [:ann | ... ]. > > than dealing with TestResult. > > I am okay to move the announcer in TestResult, but that's look a bit to me. > Don't you feel? > I'm currently playing with annoucements in TestResult. Indeed what I want to set in the TestCaseEnded: - is the test has #pass, #failure or #error - for failure and error, store the Exception so we can now why. But until I propose something, keep the implementation which fits your needs :). Laurent > > Cheers, > Alexandre > -- > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: > Alexandre Bergel http://www.bergel.eu > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > > > > > _______________________________________________ > Pharo-project mailing list > [email protected] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project >
_______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
