Sorry about the /src/tests mistake -- you're right, the correct
directory is /src/test.

I'm not specifying the version number as you are...
Mine
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>surefire-report-maven-plugin</artifactId>
      </plugin>

Yours:
       <plugin>
           <groupId>org.codehaus.mojo</groupId>
           <artifactId>surefire-report-maven-plugin</artifactId>
           <version>2.0-beta-1</version>
       </plugin>


Perhaps this is causing your issue? I'm not sure what the most recent
release is but according to my local user repo I've got:
2.0-20060106.225541-3
2.0-alpha-2
2.0-beta-4
2.0-SNAPSHOT

Without specifying a version, I'm getting
maven-site-plugin:2.0-beta-4. I'd assume there are updates between
beta-1 and beta-4 that you are missing, which is leading to some of
your troubles.

Wayne


On 3/10/06, Miguel Griffa <[EMAIL PROTECTED]> wrote:
> I alsgo have all test classes named FooTest
> but the dir is src/test/java (note singluar test, not plural)
>
> however, if I run mvn test, it will take 20' to run all tests, but when I
> run site, tests are run, but report says 0 tests.
> I noticed there are not TESTfoo.xml in the generated reports dir, but I
> guess that should be automatic, shouldn't it?
> you didn't have to set anything special, did you?
>
> plugin is defined like this
>
>    <reporting>
>        <plugins>
>            <plugin>
>                <groupId>org.codehaus.mojo</groupId>
>                <artifactId>surefire-report-maven-plugin</artifactId>
>                <version>2.0-beta-1</version>
>            </plugin>
>
>
>
> On 3/10/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
> >
> > I also use it with zero issues. Tests are in src/tests/java and named
> > BlahVOTest.java with methods setUp, tearDown, and testBlah1,
> > testBlah2, etc.
> >
> > I can only think you are doing something strange, Miguel. ;-)
> >
> > Wayne
> >
> >
> > On 3/10/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote:
> > > I use it without any problems. What are you test methods names ?
> > > textXXX ? Or you prefer to use test suites?
> > >
> > > On 3/10/06, Miguel Griffa <[EMAIL PROTECTED]> wrote:
> > > > anyone being able to use surfire test report in  m2?
> > > > I have a project with 2000+ tests, with m2 dir layout and test report
> > says
> > > > all zero...
> > > > any ideas?
> > > >
> > > > --
> > > > Miguel Griffa
> > > > Skype: miguel.griffa
> > > > Y!: m_griffa
> > > > MSN: [EMAIL PROTECTED]
> > > > Cell: 15-62519355
> > > >
> > > >
> > >
> > >
> > > --
> > > Alexandre Poitras
> > > Québec, Canada
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
>
>
>
> --
> Miguel Griffa
> Skype: miguel.griffa
> Y!: m_griffa
> MSN: [EMAIL PROTECTED]
> Cell: 15-62519355
>
>

Reply via email to