Hi Rangnath,
I am not sure if running multiple methods is supported. I am seeing the following in maven surefire plugin documentation.
As of Surefire 2.12.1, you can select multiple methods (JUnit 4.x only at this time; patches welcome!):
mvn -Dtest=TestCircle#testOne+testTwo test
mvn -Dtest=TestCircle#test* test
--
You received this message because you are subscribed to the Google Groups "testng-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to testng-users...@googlegroups.com.
To post to this group, send email to testng...@googlegroups.com.
Visit this group at http://groups.google.com/group/testng-users.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "testng-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/testng-users/Gd3CTMr-3ag/unsubscribe.
To unsubscribe from this group and all its topics, send an email to testng-users...@googlegroups.com.
To post to this group, send email to testng...@googlegroups.com.
Visit this group at http://groups.google.com/group/testng-users.
For more options, visit https://groups.google.com/d/optout.
includes2=**/*TestCase.java, includes1=**/*Test.java, includes0=**/Test*.java
This is what is causing your test classes to be executed when you dont have surefire plugin entry at all in your pom file, and NOT because your suite xml file from the network drive was accessible.
From your logs, I am guessing that your Jenkins is a Linux box. For you to be able to access a network drive, in the linux world, i think you would first need to mount the network drive before you can access it.
Currently what surefire plugin is doing here is, that it is trying to look for a relative directory with your network path as its name and trying to locate the suite file in it (which is NOT what you are looking for )