Re: [FLEXJS} Musing about Mustella

2014-03-12 Thread Erik de Bruin
I'd say build the tooling under the assumption that the AS is written in a FlexJS JS compatible fashion - i.e. it's basically JS, as you say. If we run into major difficulties that way, we can always create an option into FalconJX that allows us to pass in AS and do a 'simple' pass to create valid

Re: [FLEXJS} Musing about Mustella

2014-03-12 Thread Alex Harui
Well, one of the mustella steps is called RunCode, because we don't have steps for everything. We will identify common patterns and turn them into steps to reduce the total amount of AS, but I don't think we can get everything. There is also a step called AssertMethodValue that calls a method and

Re: [FLEXJS} Musing about Mustella

2014-03-12 Thread Erik de Bruin
Can you give an example of what AS might be in the test descriptor file? EdB On Wed, Mar 12, 2014 at 2:37 PM, Alex Harui wrote: > > > On 3/12/14 12:34 AM, "Erik de Bruin" wrote: > > >> > >> The MXML test script should be valid XML, so it should be easily parsed > >>by > >> Java code. We ha

Re: [FLEXJS} Musing about Mustella

2014-03-12 Thread Alex Harui
On 3/12/14 12:34 AM, "Erik de Bruin" wrote: >> >> The MXML test script should be valid XML, so it should be easily parsed >>by >> Java code. We have to figure out what to do with any fx:Script block, >>but >> otherwise, maybe each MXML tag just runs a Java class? For MXML event >> handling co

Re: [FLEXJS} Musing about Mustella

2014-03-12 Thread Erik de Bruin
> > The MXML test script should be valid XML, so it should be easily parsed by > Java code. We have to figure out what to do with any fx:Script block, but > otherwise, maybe each MXML tag just runs a Java class? For MXML event > handling code in AS, maybe that just gets passed to JS eval()? Or >

Re: [FLEXJS} Musing about Mustella

2014-03-12 Thread Alex Harui
On 3/11/14 11:56 PM, "OmPrakash Muppirala" wrote: >On Tue, Mar 11, 2014 at 11:15 PM, Alex Harui wrote: > >> >> >> On 3/11/14 10:26 PM, "OmPrakash Muppirala" wrote: >> >> >Doesn't Mustella need bitmap comparison? That would be almost >>impossible >> >to get to work in HTML. Selenium probably

Re: [FLEXJS} Musing about Mustella

2014-03-12 Thread Alex Harui
On 3/11/14 11:42 PM, "Erik de Bruin" wrote: >Yes, we very much need to be able to test against various browsers (both >old - IE8 comes to mind - and new). Any solution that doesn't allow >automated testing against multiple browsers on multiple platforms seems a >less optimal choice. The various

Re: [FLEXJS} Musing about Mustella

2014-03-11 Thread OmPrakash Muppirala
On Tue, Mar 11, 2014 at 11:15 PM, Alex Harui wrote: > > > On 3/11/14 10:26 PM, "OmPrakash Muppirala" wrote: > > >Doesn't Mustella need bitmap comparison? That would be almost impossible > >to get to work in HTML. Selenium probably is a better option for these > >kind of things. > Well, lately

Re: [FLEXJS} Musing about Mustella

2014-03-11 Thread Erik de Bruin
Yes, we very much need to be able to test against various browsers (both old - IE8 comes to mind - and new). Any solution that doesn't allow automated testing against multiple browsers on multiple platforms seems a less optimal choice. The various JS, CSS and maybe SVG implementations just differ t

Re: [FLEXJS} Musing about Mustella

2014-03-11 Thread Alex Harui
On 3/11/14 11:01 PM, "Sean Thayne" wrote: >If you ran the JS tests inside of an air app, you could generate bitmaps >for comparison.. But, that wouldn't really work to test different >browsers, >which is another thing FlexJS will probably need. To test everything in >all >major browsers. True.

Re: [FLEXJS} Musing about Mustella

2014-03-11 Thread Alex Harui
On 3/11/14 10:26 PM, "OmPrakash Muppirala" wrote: >Doesn't Mustella need bitmap comparison? That would be almost impossible >to get to work in HTML. Selenium probably is a better option for these >kind of things. Well, lately I've been wishing we'd done display-list compares instead of bitmap

Re: [FLEXJS} Musing about Mustella

2014-03-11 Thread Sean Thayne
If you ran the JS tests inside of an air app, you could generate bitmaps for comparison.. But, that wouldn't really work to test different browsers, which is another thing FlexJS will probably need. To test everything in all major browsers. -Sean Thayne On Tue, Mar 11, 2014 at 11:26 PM, OmPrakas

Re: [FLEXJS} Musing about Mustella

2014-03-11 Thread OmPrakash Muppirala
Doesn't Mustella need bitmap comparison? That would be almost impossible to get to work in HTML. Selenium probably is a better option for these kind of things. Another option is that perhaps we could build a runner in AIR that loads the html stuff in a HTML component. That we could reuse the bi

[FLEXJS} Musing about Mustella

2014-03-11 Thread Alex Harui
Hi folks, I just checked in enough code to get the Button and CheckBox test from the SDK's checkintest to run under FlexJS. There's another half-dozen or so tests we should probably finish converting since we have those components in the FlexJS framework. Getting some sort of checkintest running