Howard Lewis Ship <hlship <at> gmail.com> writes:

> Also, you must make sure your package is listed in testng.xml.

Thanks to all for helping. Finally the tip above fixed the problem!
Interestingly, I can't find any documentation saying that 
src/test/conf/testng.xml is the default location. But anyway,
I'm glad that it's working!

On a related note, one of my TestNG test in tapestry-ioc is sometimes
run as JUnit test by surefire (and fails as a result). Usually this 
is when I am off-line. When I am online, it works again (run as 
TestNG test). It seems that it's because maven needs 
plexus-container-default which needs JUnit at runtime. When the
TestNG snapshot is unavailable but JUnit is, surefire will use
the latter. But this doesn't explain why this is not happening with
the other TestNG tests in tapestry-ioc. Any idea?

Thanks!

--
Author of a book for learning Tapestry (http://www.agileskills2.org/EWDT)


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to