Re: AW: [FlexJS]unit testing
On 7/3/16, 11:09 AM, "Christofer Dutz" <christofer.d...@c-ware.de> wrote: >I could imagine that it could be possible to write tests in selenium >webdriver as this can automate flash and JavaScript applications. But >that would be more down the path of frontend testing and not unit testing. That is what Mustella does in order to have a single test run on both Flash and browser. > > Ursprüngliche Nachricht >Von: Harbs <harbs.li...@gmail.com> >Datum: 03.07.16 18:30 (GMT+01:00) >An: dev@flex.apache.org >Betreff: Re: [FlexJS]unit testing > >What about Jasmine? Unfortunately I have very little experience with unit >testing… I don't know much about Jasmine either. Does it work for Flash? -Alex
AW: [FlexJS]unit testing
I could imagine that it could be possible to write tests in selenium webdriver as this can automate flash and JavaScript applications. But that would be more down the path of frontend testing and not unit testing. Chris Von meinem Samsung Galaxy Smartphone gesendet. Ursprüngliche Nachricht Von: Harbs <harbs.li...@gmail.com> Datum: 03.07.16 18:30 (GMT+01:00) An: dev@flex.apache.org Betreff: Re: [FlexJS]unit testing What about Jasmine? Unfortunately I have very little experience with unit testing… On Jul 3, 2016, at 5:10 PM, Alex Harui <aha...@adobe.com> wrote: > > On 7/3/16, 2:15 AM, "Harbs" <harbs.li...@gmail.com> wrote: > >> Besides the “manualtests” folder, there’s not really much testing that I >> can see. Is there an easy way to create unit tests that work on both the >> Flash side and the JS side of things? > > In mustella/tests are sample mustella "integration" tests that run on both > sides. > > In Core/src/test and HTML/src/test are FlexUnit tests that are SWF only. > Getting FlexUnit to have a JS runner might be possible but requires a > volunteer to drive it. > > -Alex > >
Re: [FlexJS]unit testing
What about Jasmine? Unfortunately I have very little experience with unit testing… On Jul 3, 2016, at 5:10 PM, Alex Haruiwrote: > > On 7/3/16, 2:15 AM, "Harbs" wrote: > >> Besides the “manualtests” folder, there’s not really much testing that I >> can see. Is there an easy way to create unit tests that work on both the >> Flash side and the JS side of things? > > In mustella/tests are sample mustella "integration" tests that run on both > sides. > > In Core/src/test and HTML/src/test are FlexUnit tests that are SWF only. > Getting FlexUnit to have a JS runner might be possible but requires a > volunteer to drive it. > > -Alex > >
Re: [FlexJS]unit testing
On 7/3/16, 2:15 AM, "Harbs"wrote: >Besides the “manualtests” folder, there’s not really much testing that I >can see. Is there an easy way to create unit tests that work on both the >Flash side and the JS side of things? In mustella/tests are sample mustella "integration" tests that run on both sides. In Core/src/test and HTML/src/test are FlexUnit tests that are SWF only. Getting FlexUnit to have a JS runner might be possible but requires a volunteer to drive it. -Alex
[FlexJS]unit testing
Besides the “manualtests” folder, there’s not really much testing that I can see. Is there an easy way to create unit tests that work on both the Flash side and the JS side of things?