Re: [M2] How to run a testng singletest with surefire ?
Hello firstly, thanks for your response. Unfortulately, I already tried this option but when I dont set any testsuite, surefire doesnt find any testcase. Alexandre Touret Petar Tahchiev wrote: On 05/12/06, Alexandre Touret [EMAIL PROTECTED] wrote: hello, I have described my problem recently in a post but I have had no response. So I that s one of my prioblems: I m trying to run maven-surefire-plugin with testng. I specified a testsuite in a xml file. Unfortunately, I have the following problem: When I try to run only one testcase described in a testsuite I always have the following behaviour: The surefire plugin runs all the test suite and not only the specified test case I did the following command : mvn -Dtest=LoginTest test How to run only one testcase ? Thanks in advance for your help! Regards, Alexandre - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [M2] How to run a testng singletest with surefire ?
OK I moved the testng dependency from my root project (I use a multiproject ) to each module. Now it works fine. I suppose its a bug I m going to add an issue in JIRA Regards, Alexandre Alexandre Touret wrote: Hello firstly, thanks for your response. Unfortulately, I already tried this option but when I dont set any testsuite, surefire doesnt find any testcase. Alexandre Touret Petar Tahchiev wrote: On 05/12/06, Alexandre Touret [EMAIL PROTECTED] wrote: hello, I have described my problem recently in a post but I have had no response. So I that s one of my prioblems: I m trying to run maven-surefire-plugin with testng. I specified a testsuite in a xml file. Unfortunately, I have the following problem: When I try to run only one testcase described in a testsuite I always have the following behaviour: The surefire plugin runs all the test suite and not only the specified test case I did the following command : mvn -Dtest=LoginTest test How to run only one testcase ? Thanks in advance for your help! Regards, Alexandre - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[M2] How to run a testng singletest with surefire ?
hello, I have described my problem recently in a post but I have had no response. So I that s one of my prioblems: I m trying to run maven-surefire-plugin with testng. I specified a testsuite in a xml file. Unfortunately, I have the following problem: When I try to run only one testcase described in a testsuite I always have the following behaviour: The surefire plugin runs all the test suite and not only the specified test case I did the following command : mvn -Dtest=LoginTest test How to run only one testcase ? Thanks in advance for your help! Regards, Alexandre - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [M2] How to run a testng singletest with surefire ?
On 05/12/06, Alexandre Touret [EMAIL PROTECTED] wrote: hello, I have described my problem recently in a post but I have had no response. So I that s one of my prioblems: I m trying to run maven-surefire-plugin with testng. I specified a testsuite in a xml file. Unfortunately, I have the following problem: When I try to run only one testcase described in a testsuite I always have the following behaviour: The surefire plugin runs all the test suite and not only the specified test case I did the following command : mvn -Dtest=LoginTest test How to run only one testcase ? Thanks in advance for your help! Regards, Alexandre - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Have a look at this : http://maven.apache.org/plugins/maven-surefire-plugin/examples/inclusion-exclusion.html -- Regards, Petar! Karlovo, Bulgaria.