Just adding <testSourceDirectory>src/test/flex</testSourceDirectory> to your
<build> section should do the trick.

2010/3/13 Richard Rodseth <[email protected]>

> What exactly is needed to enable FlexUnit4 and run the tests from maven?
>
> I have a sample modeled on the todo-list reference app.
>
> I added
>
>    <dependency>
>      <groupId>com.adobe.flexunit</groupId>
>      <artifactId>flexunit</artifactId>
>      <version>4.0-beta-2</version>
>      <type>swc</type>
>      <scope>test</scope>
>    </dependency>
>
> and added Flash Player to my path.
>
> When I run mvn clean install I get
>
> [WARNING] Skipping test run. Runner not found:
>
> /Users/myname/dev/sandbox/companyname/Experimental/maventest/sampleswf/target/test-classes
>
> and in fact test-classes is empty.
>
> I have one test case class in src/test/flex but no suites or any other
> scaffolding. Still I expected that class to get compiled.
>
> Seems like I'm missing some steps...
> Thanks for any pointers or links to examples.
>
> --
> 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]<flex-mojos%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/flex-mojos?hl=en?hl=en
>
> http://flexmojos.sonatype.org/
>

-- 
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://flexmojos.sonatype.org/

Reply via email to