incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: Getting Mustella to work.
Date Thu, 23 Aug 2012 16:38:25 GMT



On 8/23/12 9:29 AM, "Carlos Rovira" <carlos.rovira@codeoscopic.com> wrote:

> Hi Alex,
> 
> 
> 2012/8/23 Alex Harui <aharui@adobe.com>
> 
>> 
>> I would use the ImageDiffAir tool to figure out what is different, then
>> examine the test to determine which image is the right one.
>> 
>> 
> The screen shot is from ImageDiffAir tool.
Yes, you can use the getPixel button and/or the pixel reading checkbox to
determine the pixel values at certain coordinates to determine in exact
detail the differences.
> 
> 
> 
>> If the red square asset got changed and is smaller then maybe the baseline
>> wasn't refreshed after the asset changed.
>> 
> 
> I tried more than one time and remove the images to be generated again, so
> I think there's no much to do there
I thought you'd already generated new baselines so it was making me think
that the test was unstable.  If that's not the case, then you're probably ok
with just cutting a new one.
> 
> 
>> 
>> It could also be differences in rendering between platforms and machines
>> and
>> then we'll have to decide to exclude it or find a way to fix it.
>> 
>> 
> I think this is what is happening since from the capture I sent not only
> red square is different, "Name" text report changes too.
Yes, but the position of Name might be dependent on red square size.
> 
> As I'm new to mustella and already not have too much experience I'd like
> that someone point me how to proceed with this one.
> 
If the new baseline seems stable (a second run shows no differences) then
just check it in for now.  If there is a platform/machine difference we'll
find those as others run these tests and then try to figure out how to
stablize the test.

It gets trickier for tests of effects because timing can affect the
rendering, but most tests don't have moving parts so just getting the folder
to run with zero failures on your machine is good enough for now.

-- 
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui


Mime
View raw message