On 2 sept. 2014, at 23:29, Pernet Alexis <alexis.pernet@etudiant.univ-lille1.fr> wrote:
Hello!
Hi Alexis,
So, i need to know what classes/methods have been changed so that i can run the critic browser tests on the fly. I remember there's a way to do it, but not exactly how to use it. Can i have some help with that? (or a link to somewhere that is explained)
I think you want something like this: SystemAnnouncer uniqueInstance on: MethodModified, MethodAdded send: #updateMethod: to: self This will send #updateMethod: to self on each method modified or added with a corresponding announcement as argument.
Also, i need a way to gather environments and associate them with rules, what would be the best type of collection/etc... to do that?
I not sure I understand. You want to run a set of critic rules when one method of a given RBEnvironment is changed? Or something else?