You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by Om <bi...@gmail.com> on 2012/11/19 20:01:45 UTC

Re: [jira] [Commented] (FLEX-33266) Make it easy for developers to do a targetted Mustella test run that doesnt take hours

What Fredric says is correct.  The plan is to have it entered only once -
like a settings menu.  There is no need to enter those details every time.

After the first time, all the developer has to do is click the "Scan and
Test" button which will scan the svn changes, figure out which tests to
run, call mini_run.sh and run just those tests to completion.

Carol, perhaps you could open a new JIRA ticket for the ImageDiff air app
enhancements.  I will try to take a shot at it after I finish this tool.

Frederic, I would love your help on this.  I will start out a project and
check it in.  Then we can start collaborating in it.

Thanks,
Om

On Mon, Nov 19, 2012 at 9:27 AM, Frédéric THOMAS (JIRA) <ji...@apache.org>wrote:

>
>     [
> https://issues.apache.org/jira/browse/FLEX-33266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13500411#comment-13500411]
>
> Frédéric THOMAS commented on FLEX-33266:
> ----------------------------------------
>
> Carol, I'm totally in line with your thoughts, I even didn't consider the
> 3 first steps of the description to be repeated each time but saved
> settings and for the second, as soon as I used it, I felt the file browsing
> could be improved in many ways.
>
> > Make it easy for developers to do a targetted Mustella  test run that
> doesnt take hours
> >
> ---------------------------------------------------------------------------------------
> >
> >                 Key: FLEX-33266
> >                 URL: https://issues.apache.org/jira/browse/FLEX-33266
> >             Project: Apache Flex
> >          Issue Type: Improvement
> >          Components: Mustella
> >    Affects Versions: Apache Flex 4.8 (parity release)
> >            Reporter: OmPrakash Muppirala
> >            Assignee: OmPrakash Muppirala
> >             Fix For: Adobe Flex SDK Next
> >
> >
> > MustellaDependencyDB and MustellaTestChooser provides a very good
> solution for selecting tests to be run based on the changes a developer
> makes.
> > It would be nice to create a tool that automates the rest of the steps
> as well.
> > Here is the proposed tool and its requirements:
> > An AIR app that takes the following inputs
> > 1.  Directory location of Apache Flex SDK
> > 2.  Directory location of svn.exe (windows)
> > 3.  Directory location of a bash shell ex. cygwin or git bash (windows)
> > Once the developer is done with the changes, they launch the app and on
> the click of  a button, the following happens:
> > 1.  A nativeprocess invokes svn to get the changes in the Apache Flex
> SDK directory (via svn status | grep '^M' )
> > 2.  It will write out a file that mini_run.sh looks for with the list of
> test files to run.  (MustellaTestChooser does this already)
> > 3.  A nativeprocess is invoked to open the bash shell and run
> "mini_run.sh -changes"
> > 4.  The results of the run is displayed in a log console in the app.
> > Bonus:
> > Show a side by side comparison of the baseline bitmaps with the result
> bitmaps.
>
> --
> This message is automatically generated by JIRA.
> If you think it was sent incorrectly, please contact your JIRA
> administrators
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>

Re: [jira] [Commented] (FLEX-33266) Make it easy for developers to do a targetted Mustella test run that doesnt take hours

Posted by Frédéric THOMAS <we...@hotmail.com>.
Yes, what I'm seeing for the test part is a UI tool which would allowed to 
easily run de tests.

After the setup and setting the required environment path (still have to 
defined the friendlier way to do that), it would be nice to be able to 
create an new SDK Project where I could, for this particular SDK:

- build / rebuild the SDK with options (other.locales, ...)
- run all tests
- run changes
- run failures
- run a particular test

As output, I would lile a boxed console where I can see the compiler and 
test logs for failed tests.

.... more later.

-----Message d'origine----- 
From: Om
Sent: Monday, November 19, 2012 8:37 PM
To: flex-dev@incubator.apache.org
Subject: Re: [jira] [Commented] (FLEX-33266) Make it easy for developers to 
do a targetted Mustella test run that doesnt take hours

On Mon, Nov 19, 2012 at 11:28 AM, Alex Harui <ah...@adobe.com> wrote:

> Do you have plans to handle the commit as well?  I've always wanted a tool
> that would coordinate the commit log and the related JIRA issues.  I'm
> always having to look up the revision number to put in the JIRA issues and
> the JIRA issues to put in the commit log.
>
>
We could do it, but it would be a bit tricky.  In my set up, I sign in
every time I want to commit something (so that I dont commit anything by
mistake)  Not sure how I would handle such a scenario.

But I do see the value in this feature...

Thanks,
Om


>
> On 11/19/12 11:19 AM, "Erik de Bruin" <er...@ixsoftware.nl> wrote:
>
> > Well, believe it or not, developers are "users" too and an AIR app
> > allows for a (better) UI, improving usability and allowing for a
> > richer feature set with a shallower learning curve.
> >
> > EdB
> >
> >
> > On Mon, Nov 19, 2012 at 8:13 PM, Carol Frampton <cf...@adobe.com>
> wrote:
> >>
> >>
> >> On 11/19/12 2 :01PM, "Om" <bi...@gmail.com> wrote:
> >>
> >>> What Fredric says is correct.  The plan is to have it entered only
> once -
> >>> like a settings menu.  There is no need to enter those details every
> time.
> >>>
> >>> After the first time, all the developer has to do is click the "Scan
> and
> >>> Test" button which will scan the svn changes, figure out which tests 
> >>> to
> >>> run, call mini_run.sh and run just those tests to completion.
> >>
> >> Ok but why an air app?  Why not just a new target in 
> >> mustella/build.xml?
> >>
> >> Carol
> >>
> >
> >
>
> --
> Alex Harui
> Flex SDK Team
> Adobe Systems, Inc.
> http://blogs.adobe.com/aharui
>
> 


Re: [jira] [Commented] (FLEX-33266) Make it easy for developers to do a targetted Mustella test run that doesnt take hours

Posted by Om <bi...@gmail.com>.
On Mon, Nov 19, 2012 at 11:28 AM, Alex Harui <ah...@adobe.com> wrote:

> Do you have plans to handle the commit as well?  I've always wanted a tool
> that would coordinate the commit log and the related JIRA issues.  I'm
> always having to look up the revision number to put in the JIRA issues and
> the JIRA issues to put in the commit log.
>
>
We could do it, but it would be a bit tricky.  In my set up, I sign in
every time I want to commit something (so that I dont commit anything by
mistake)  Not sure how I would handle such a scenario.

But I do see the value in this feature...

Thanks,
Om


>
> On 11/19/12 11:19 AM, "Erik de Bruin" <er...@ixsoftware.nl> wrote:
>
> > Well, believe it or not, developers are "users" too and an AIR app
> > allows for a (better) UI, improving usability and allowing for a
> > richer feature set with a shallower learning curve.
> >
> > EdB
> >
> >
> > On Mon, Nov 19, 2012 at 8:13 PM, Carol Frampton <cf...@adobe.com>
> wrote:
> >>
> >>
> >> On 11/19/12 2 :01PM, "Om" <bi...@gmail.com> wrote:
> >>
> >>> What Fredric says is correct.  The plan is to have it entered only
> once -
> >>> like a settings menu.  There is no need to enter those details every
> time.
> >>>
> >>> After the first time, all the developer has to do is click the "Scan
> and
> >>> Test" button which will scan the svn changes, figure out which tests to
> >>> run, call mini_run.sh and run just those tests to completion.
> >>
> >> Ok but why an air app?  Why not just a new target in mustella/build.xml?
> >>
> >> Carol
> >>
> >
> >
>
> --
> Alex Harui
> Flex SDK Team
> Adobe Systems, Inc.
> http://blogs.adobe.com/aharui
>
>

Re: [jira] [Commented] (FLEX-33266) Make it easy for developers to do a targetted Mustella test run that doesnt take hours

Posted by Alex Harui <ah...@adobe.com>.
Do you have plans to handle the commit as well?  I've always wanted a tool
that would coordinate the commit log and the related JIRA issues.  I'm
always having to look up the revision number to put in the JIRA issues and
the JIRA issues to put in the commit log.


On 11/19/12 11:19 AM, "Erik de Bruin" <er...@ixsoftware.nl> wrote:

> Well, believe it or not, developers are "users" too and an AIR app
> allows for a (better) UI, improving usability and allowing for a
> richer feature set with a shallower learning curve.
> 
> EdB
> 
> 
> On Mon, Nov 19, 2012 at 8:13 PM, Carol Frampton <cf...@adobe.com> wrote:
>> 
>> 
>> On 11/19/12 2 :01PM, "Om" <bi...@gmail.com> wrote:
>> 
>>> What Fredric says is correct.  The plan is to have it entered only once -
>>> like a settings menu.  There is no need to enter those details every time.
>>> 
>>> After the first time, all the developer has to do is click the "Scan and
>>> Test" button which will scan the svn changes, figure out which tests to
>>> run, call mini_run.sh and run just those tests to completion.
>> 
>> Ok but why an air app?  Why not just a new target in mustella/build.xml?
>> 
>> Carol
>> 
> 
> 

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


Re: [jira] [Commented] (FLEX-33266) Make it easy for developers to do a targetted Mustella test run that doesnt take hours

Posted by Erik de Bruin <er...@ixsoftware.nl>.
Well, believe it or not, developers are "users" too and an AIR app
allows for a (better) UI, improving usability and allowing for a
richer feature set with a shallower learning curve.

EdB


On Mon, Nov 19, 2012 at 8:13 PM, Carol Frampton <cf...@adobe.com> wrote:
>
>
> On 11/19/12 2 :01PM, "Om" <bi...@gmail.com> wrote:
>
>>What Fredric says is correct.  The plan is to have it entered only once -
>>like a settings menu.  There is no need to enter those details every time.
>>
>>After the first time, all the developer has to do is click the "Scan and
>>Test" button which will scan the svn changes, figure out which tests to
>>run, call mini_run.sh and run just those tests to completion.
>
> Ok but why an air app?  Why not just a new target in mustella/build.xml?
>
> Carol
>



-- 
Ix Multimedia Software

Jan Luykenstraat 27
3521 VB Utrecht

T. 06-51952295
I. www.ixsoftware.nl

Re: [jira] [Commented] (FLEX-33266) Make it easy for developers to do a targetted Mustella test run that doesnt take hours

Posted by Om <bi...@gmail.com>.
Because MustellaDependencyDB and MustellaTestChooser are AIR apps.  I want
to leverage what these two does and add to it.

Also, I dont have a Mac, there would be no way for me to code it and expect
it to work the same on both platforms.  AIR takes care of that.

Plus, ActionScript is more fun to code in :-)

Thanks,
Om

On Mon, Nov 19, 2012 at 11:13 AM, Carol Frampton <cf...@adobe.com> wrote:

>
>
> On 11/19/12 2 :01PM, "Om" <bi...@gmail.com> wrote:
>
> >What Fredric says is correct.  The plan is to have it entered only once -
> >like a settings menu.  There is no need to enter those details every time.
> >
> >After the first time, all the developer has to do is click the "Scan and
> >Test" button which will scan the svn changes, figure out which tests to
> >run, call mini_run.sh and run just those tests to completion.
>
> Ok but why an air app?  Why not just a new target in mustella/build.xml?
>
> Carol
>
>

Re: [jira] [Commented] (FLEX-33266) Make it easy for developers to do a targetted Mustella test run that doesnt take hours

Posted by Carol Frampton <cf...@adobe.com>.

On 11/19/12 2 :01PM, "Om" <bi...@gmail.com> wrote:

>What Fredric says is correct.  The plan is to have it entered only once -
>like a settings menu.  There is no need to enter those details every time.
>
>After the first time, all the developer has to do is click the "Scan and
>Test" button which will scan the svn changes, figure out which tests to
>run, call mini_run.sh and run just those tests to completion.

Ok but why an air app?  Why not just a new target in mustella/build.xml?

Carol