In this article; Enda states that it’s a known problem to get JUnit 4 and TestNG working together in a single maven build. http://enda.squarespace.com/testng-junit4-in-maven/
I have testng, junit 3.81 and junit 4.8.1. TestNG is stable. junit 3.81 ran under both dependencies for junit 4.8.1. and 3.4.1, however it no longer compiled when any junit 4.8.1. test code is added. junit 4.8.1. test code runs fine under 4.8.1. dependency but not under dependency 3.8.1. Apparently, you can only have the 4.81 dependency. All my files run fine under the dos command line. To be honest I cannot understand Enda's complicated solution. Does this warrant being reported as a bug? Would anybody be willing to look at the code if i place it somewhere? In its present state, it is pretty trivial and easy to reproduce. -- View this message in context: http://maven.40175.n5.nabble.com/known-problem-to-get-JUnit-4-and-TestNG-working-together-tp5500597p5500597.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
