maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Gudian <andreas.gud...@gmail.com>
Subject Re: Problem when running testng testcase
Date Wed, 13 Mar 2013 07:53:40 GMT
Hi,

Please also let us know for comparison how you execute your test in
eclipse. Using the TestNG Eclipse plugin?

Andreas

Am Mittwoch, 13. März 2013 schrieb Baptiste MATHUS :

> I suppose you're using junit. The information you've provided is not enough
> to be sure, but maybe you manually forced using junit4 in eclipse but you
> left it in junit3 in you pom.xml?
>
> By the way, if you can provide a gist of your pom and test or even better a
> test project, I guess this will be easier to help you.
>
> Cheers
> Le 12 mars 2013 23:29, "mike" <mikaelpetterson@hotmail.com <javascript:;>>
> a écrit :
>
> > Hi,
> >
> > When I execute my testng testcase from within Eclipse I get the following
> > result:
> >
> > Tests run: 1, Failures: 0, Skips: 1
> >
> > But when I use maven test I get the following for the same testcase:
> >
> > Failed tests:
> >   beforeClass(com.mycompany.NewTest)
> >
> > Failures: 1 Skips: 0
> >
> > Anyone seen this before?
> >
> > br,
> >
> > //mike
> >
> >
> >
> > --
> > View this message in context:
> >
> http://maven.40175.n5.nabble.com/Problem-when-running-testng-testcase-tp5750454.html
> > Sent from the Maven - Users mailing list archive at Nabble.com.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org<javascript:;>
> > For additional commands, e-mail: users-help@maven.apache.org<javascript:;>
> >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message