Seems skipTest does compile the test code and not run them. But the problem is that the generated TestRunner.mxml uses flex-mojo:
<unitestingsupport:TestApplication xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:unitestingsupport="org.sonatype.flexmojos.unitestingsupport.*" layout="absolute" initialize="init()" port="13539" controlPort="13540" > As a result, I was wrong and cannot simply use flex-mojo to compile FlexUnit 4 test code and use antrun to run them. I have to use antrun to compile FlexUnit 4 test code and run them. Thanks, John On Sep 3, 1:37 pm, Marvin Froeder <[email protected]> wrote: > I think skipTests skips both too, but I can be wrong > > Ogden Nash <http://www.brainyquote.com/quotes/authors/o/ogden_nash.html> - > "The trouble with a kitten is that when it grows up, it's always a cat." > > On Thu, Sep 3, 2009 at 2:32 PM, Logan Allred <[email protected]> wrote: > > > I thought that -DskipTests would compile the tests but not run them, > > and -Dmaven.test.skip=true would skip both the compiling and the > > running. > > > Is that not true anymore? > > > Logan > > > On Thu, Sep 3, 2009 at 10:48 AM, Marvin Froeder<[email protected]> wrote: > > > There is no skip option for that right now. > > > > VELO > > > > On Thu, Sep 3, 2009 at 1:27 PM, John <[email protected]> wrote: > > > >> Hi, > > > >> Since our project needs to use FlexUnit 4 to test Air applications. I > > >> tried to use the antrun maven plugin to call mxmlc task to compile the > > >> air test code, but cannot get it working so far because it is really > > >> difficult to set up the compiler lib path for air applications. > > > >> I just wonder if I can use flex mojos to compile all test code but not > > >> run them after the compilation. Then I can use Maven ant-run plugin to > > >> run the tests with FlexUnit 4. Seems flex mojos can compile the test > > >> code and just cannot run the FlexUnit 4 test appropriately. > > > >> Any helps are appreciated. > > > >> Thanks, > > > >> John --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex Mojos" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/flex-mojos?hl=en?hl=en http://blog.flex-mojos.info/ -~----------~----~----~----~------~----~------~--~---
