Re: [Pharo-users] Failling Tests are green if BlockCannotReturn exception

2016-01-13 Thread Sven Van Caekenberghe
of SUnit, I think. > Abdelghani > > > De : Sven Van Caekenberghe <s...@stfx.eu> > À : abdelghani ALIDRA <alidran...@yahoo.fr>; Any question about pharo is > welcome <pharo-users@lists.pharo.org> > Envoyé le : Mardi 12 janvier 2016 7h35 &g

Re: [Pharo-users] Failling Tests are green if BlockCannotReturn exception

2016-01-13 Thread abdelghani ALIDRA
Caekenberghe <s...@stfx.eu> À : abdelghani ALIDRA <alidran...@yahoo.fr>; Any question about pharo is welcome <pharo-users@lists.pharo.org> Envoyé le : Mardi 12 janvier 2016 7h35 Objet : Re: [Pharo-users] Failling Tests are green if BlockCannotReturn exception > On

[Pharo-users] Failling Tests are green if BlockCannotReturn exception

2016-01-11 Thread abdelghani ALIDRA
Hi, I observed this unexpected behavior in test classes.In a test class define a method : testBlock     |aBlock|     aBlock := [ ^1 ].     aBlock value.     self assert: false. Althought the assertion is false at the end of the test, the test is green.Actually, It does not matter what you put

Re: [Pharo-users] Failling Tests are green if BlockCannotReturn exception

2016-01-11 Thread Vincent BLONDEAU
: Pharo-users [mailto:pharo-users-boun...@lists.pharo.org] On Behalf Of abdelghani ALIDRA Sent: mardi 12 janvier 2016 00:26 To: Any Question About Pharo Is Welcome Subject: [Pharo-users] Failling Tests are green if BlockCannotReturn exception Hi, I observed this unexpected behavior in test

Re: [Pharo-users] Failling Tests are green if BlockCannotReturn exception

2016-01-11 Thread Clément Bera
behavior you want. > Cheers, > > Vincent > > > > *From:* Pharo-users [mailto:pharo-users-boun...@lists.pharo.org] *On > Behalf Of *abdelghani ALIDRA > *Sent:* mardi 12 janvier 2016 00:26 > *To:* Any Question About Pharo Is Welcome > *Subject:* [Pharo-users] Failling Tests a

Re: [Pharo-users] Failling Tests are green if BlockCannotReturn exception

2016-01-11 Thread Sven Van Caekenberghe
> On 12 Jan 2016, at 00:26, abdelghani ALIDRA wrote: > > Hi, > > I observed this unexpected behavior in test classes. > In a test class define a method : > > testBlock > |aBlock| > aBlock := [ ^1 ]. > aBlock value. > self assert: false. > > Althought the