How to rewrite self should: into self assert:
Hi guys I tried to tools of mark and failed miserably. Any suggestion is welcome. Stef
Hi, Denis. We discussed this with Stef, created the rule for such transformation and successfully applied it to many methods :) The rule basically is: self should: [ ``@object ] --> self assert: ``@object Cheers, Mark 2016-03-27 21:22 GMT+03:00 Denis Kudriashov <dionisiydk@gmail.com>:
I would like to see how you do this.
2016-03-26 9:41 GMT+01:00 stepharo <stepharo@free.fr>:
Hi guys
I tried to tools of mark and failed miserably. Any suggestion is welcome.
Stef
I gave this rule and assert: = -> assert: equals: to yuriy for inclusion in QA Le 27/3/16 21:04, Denis Kudriashov a écrit :
2016-03-27 20:45 GMT+02:00 Mark Rizun <mrizun@gmail.com <mailto:mrizun@gmail.com>>:
Hi, Denis.
We discussed this with Stef, created the rule for such transformation and successfully applied it to many methods :) The rule basically is: self should: [ ``@object ] --> self assert: ``@object
Nice. Thank's
I have not seen that you gave this to me :). Just make sure that itâs in Pharo, and QA should pick it up. Cheers. Uko
On 28 Mar 2016, at 10:31, stepharo <stepharo@free.fr> wrote:
I gave this rule and assert: = -> assert: equals: to yuriy for inclusion in QA
Le 27/3/16 21:04, Denis Kudriashov a écrit :
2016-03-27 20:45 GMT+02:00 Mark Rizun <mrizun@gmail.com <mailto:mrizun@gmail.com>>: Hi, Denis.
We discussed this with Stef, created the rule for such transformation and successfully applied it to many methods :) The rule basically is: self should: [ ``@object ] --> self assert: ``@object
Nice. Thank's
Le 28/3/16 10:41, Yuriy Tymchuk a écrit :
I have not seen that you gave this to me :). Just make sure that itâs in Pharo, and QA should pick it up.
Cheers. Uko
On 28 Mar 2016, at 10:31, stepharo <stepharo@free.fr <mailto:stepharo@free.fr>> wrote:
I gave this rule and assert: = -> assert: equals: to yuriy for inclusion in QA
Le 27/3/16 21:04, Denis Kudriashov a écrit :
2016-03-27 20:45 GMT+02:00 Mark Rizun <mrizun@gmail.com <mailto:mrizun@gmail.com>>:
Hi, Denis.
We discussed this with Stef, created the rule for such transformation and successfully applied it to many methods :) The rule basically is: self should: [ ``@object ] --> self assert: ``@object
Nice. Thank's
participants (4)
-
Denis Kudriashov -
Mark Rizun -
stepharo -
Yuriy Tymchuk