Hi,
I had the same problem until I realized I wasn't specifying theright
version number (<version>2.2</version>) for the surefire plugin:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.2</version>
<configuration>
<suiteXmlFiles>
<suiteXmlFile>src/test/resources/testng.xml</suiteXmlFile>
</suiteXmlFiles>
</configuration>
</plugin>
On 6/15/06, Marco Mistroni <[EMAIL PROTECTED]> wrote:
HELLO
not sure if your question was for me.. i can run tests as of today
iwthouth
any problems..
hth
marco
On 6/15/06, SlinnHawkins, Jon (ELS) <[EMAIL PROTECTED]> wrote:
>
> Hi
>
> Are you using Junit TestSuites to kick off the tests ?
>
> There is an issue with the current verion (2.2) of the surefire plugin.
It
> has been fixed but not released....
>
> http://jira.codehaus.org/browse/MSUREFIRE-113
>
> Can anyone give an indication when this will be released, as I am also
> waiting on this ?
>
> Thanks
>
> Jon
>
> "Chandresh Taunk" < [EMAIL PROTECTED]> wrote in message
> news:<[EMAIL PROTECTED]>...
> ?I'm using maven2 in a project and for unit tests I'm using testng.
>
> When I execute 'mvn test' none of the tests run.
>
> Here's the output:
>
> Running FooTest
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016sec
> Running BarTest
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> Running BazTest
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
>
> All of the test methods have @Test annotation applied.
>
> Any idea why the tests are not running?
>
> ----------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>