flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: [FlexJS] [Discuss] Add support for "automationName" for making unit-tests simpler
Date Sat, 14 Jan 2017 05:54:53 GMT

On 1/13/17, 3:35 PM, "carlos.rovira@gmail.com on behalf of Carlos Rovira"
<carlos.rovira@gmail.com on behalf of carlos.rovira@codeoscopic.com> wrote:

>mmm I was thinink on Injecting, but inject could be problematic since
>mainly *all* components would get the automation bead and maybe that's not
>what we want. Ejecting? mmm don't like the idea of "writing" it down to
>component...don't know right now....
>I like the spring framework philosophy for this cases where some
>configuration makes what you want without *blurring* the code.
>In such philosophy you don't put nothing in the code, and instead you
>configure in some external resources what you want to put or quit at your
>discretion, so in this case, you could have a list of controls that will
>have automation bead in a config file, and that list would be used to
>inject automation bead in the listed controls (maybe even the relation of
>control and its corresponding automation bead

That sounds good to me as well.


View raw message