On Fri, Sep 24, 2010 at 5:25 AM, Sébastien Varlet < [email protected]> wrote:
> Thank you, it worked, suite classes names should not start or end by > Test. > > Unless I'm really bad at searching google and your wiki, you should > probably explain this in your documentation. > Well, you are. > > > On 23 sep, 18:53, Marvin Froeder <[email protected]> wrote: > > Flexmojos does scan for test class using a simple filename pattern > > scanner.... whatever classes match the pattern will be include on test > > runner. > > > > VELO > > > > On Thu, Sep 23, 2010 at 1:34 PM, Sébastien Varlet < > > > > > > > > [email protected]> wrote: > > > Hi, > > > > > I made a small library of common value objects and decided to try > > > flexunit 4 on it. > > > > > Everything is working but too much actually :) > > > > > I made two test methods in a single testcase class which is declared > > > as a public variable of a Suite class (with the Suite and RunWith ). > > > > > When I do mvn test, I see > > > Tests run: 4, failed 0, errors: 0 > > > > > In target/testrunner.mxml I see: > > > Addtest( myTestCaseClass) > > > AddTest(myTestSuiteClass) > > > > > This explains why my tests seems to be executed twice. > > > > > In target/surefire-reports I see one file named like my testsuite with > > > a testsuite tag inside and two testcase into it. No errors reported. > > > > > What's wrong ? It looks like flexunit did not distinguish my test > > > suite from my test case... > > > > > -- > > > 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]> > <flex-mojos%2bunsubscr...@googlegrou ps.com> > > > For more options, visit this group at > > >http://groups.google.com/group/flex-mojos > > > > >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]<flex-mojos%[email protected]> > For more options, visit this group at > http://groups.google.com/group/flex-mojos > > 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 http://flexmojos.sonatype.org/
