Maven uses the optional Ant JUnit task as you can see in plugin.jelly whithin ~/.maven/cache/maven-test-plugin... (your version at the end here)

<taskdef
        name="junit"
        classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTask"
      />

You might want to have a look at the source of this task to find out how it does run the tests.

Regards,
Gisbert Amm

Ashley Hurkoo wrote:
Hi does anyone knows what is the equilavent java command for maven test?

I believe that the junit test run within maven, and I want to know what java
command does maven execute when doing the junit test.

The reason I am asking is because I am getting different result while
executing "maven test" VS "java junit.textui.TestRunner myclass"

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

Reply via email to