Who should assert then? >From a certain POV, it does not seem that awfully unlogical to delegate this responsability to a TestCase. A TestCase is here to assert some rule.
Nicolas 2013/1/23 Camillo Bruni <camillobr...@gmail.com>: > for that we already have a fully working Phexample: > > http://www.squeaksource.com/phexample.html > > which I will push in 3.0, cause I never really liked #assert: and friends > being > sent to self. Furthermore we could finally build up decent messages! > > On 2013-01-22, at 18:24, Stéphane Ducasse <stephane.duca...@inria.fr> wrote: > >> it would be nice to introduce the same syntax than Sunit >> >> exp assert: exp2 >> >> [ exp ] shouldraise: >> >> Stef >> >> >> On Jan 21, 2013, at 4:41 AM, Benjamin wrote: >> >>> Hi guys, >>> >>> I am attending a python lecture and discovered DocTest[1], and I was >>> wondering if such a tool exists for Pharo ? :) >>> >>> >>> Ben >>> >>> [1]http://docs.python.org/2/library/doctest.html >>> >>> >> >> > >