>It is pretty stable but for my experience it is buggy when yuo have to test 
>the skinnable components and/or the rendering phases.
>Did you expirence that as well?
>Does the UIImpersonator addElement with flexunit4 work for you?

The UIImpersonator piece is the part I want to redo. Right now it tries to make 
a guess on if you are using Flex 3 or Flex 4 componentry based on what classes 
are linked into your project. So, if you have MX components, it provide an MX 
compatible UIImpersonator. If you only have Spark dependencies it creates a 
Spark compatible UIImpersonator, which has an addElement support, etc.

The easiest way to deal with this for right now is to either use the Before or 
BeforeTest depending on your needs to add a Group to the UIImpersonator using 
addChild() then add elements that need testing to your Group. Once it moves to 
Apache, this is the very first thing on my list to do differently. We had to 
get the bits out to ship with an Adobe Flash Builder release and the option for 
'Spark Only' was sprung on us at the last moment so we did our best but it 
clearly could be better. Feel free to ping me off list to if I can help you get 
your setup stable and then perhaps I can convince you to spend some time on 
this with me once it gets to Apache.

Mike

Reply via email to