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" <[email protected] <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: [email protected]<javascript:;> > > For additional commands, e-mail: [email protected]<javascript:;> > > > > >
