On Tue, Sep 27, 2011 at 4:20 PM, arka.sharma <[email protected]> wrote:
> Hi,
>
> I have some classes and some junit test classes for them.I'm running the
> junit test which is working fine in eclipse.I have also created a maven
> quickstart archetype.Inside "main > java " i have put my source for java
> code and inside "test > java " i have kept junit test classes.But when I try
> to run
>
> "mvn test" or "mvn cobertura:cobertura" it is showing the following messgae
>
>
> "Tests in error:
> com.sdp.dao.test.DfSubscriberDaoTest
> com.sdp.dao.test.DfSubscriberDaoTest
>
> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0"
>
> Also junit dependency in pom is having the same version 4.8.2 what i'm using
> inside eclipse.

Have you run
  mvn surefire-report:report-only
(see 
http://maven.apache.org/plugins/maven-surefire-report-plugin/report-only-mojo.html)

And looked at
  target/site/surefire-report.html
to see why these are failing?

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to