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