Hi all,

-Dtest:

   Each pattern you specify here will be used to create an include pattern formatted like **/${test}.java, so you can just type "-Dtest=MyTest" to run a single test called "foo/MyTest.java".
   http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html#test

Regarding onlyOneSurefireExecution.basic.profile -  I don't know why it would block running a single test;  Only thing it does is that it limits executions to just basic-integration-default-full.surefire , so the test is run with "full".
I'm about to check whether it works now.

Ondra





Jaikiran Pai píše v Út 06. 12. 2011 v 19:55 +0530:
mvn clean install -Dtest=org.jboss.as.test.smoke.embedded.parse.ParseAndMarshalModelsTestCase

is how I used to run it too. Thanks for fixing it.

-Jaikiran


On Tuesday 06 December 2011 07:31 PM, Kabir Khan wrote:
> Not sure, it used to be possible to do it the way I put in.
>
> I've put it back to what we used to have by commenting out the onlyOneSurefireExecution profiles from smoke and basic. It will try to run the test for each execution, i.e. full and web. However full is done first, so tests should pass there. The web execution might fail if the test targets the full profile.
>
> On 6 Dec 2011, at 13:03, David Bosschaert wrote:
>
>> I thought you'd always pass in the test's bare name (without the
>> package), e.g.:
>>
>> mvn clean install -Dtest=ParseAndMarshalModelsTestCase
>>
>>
>> Cheers,
>>
>> David
>>
>> On 06/12/2011 12:42, Kabir Khan wrote:
>>> It seems the latest commit to the testsuite now breaks the ability to do
>>> cd testsuite/integration/smoke
>>> mvn clean install -Dtest=org.jboss.as.test.smoke.embedded.parse.ParseAndMarshalModelsTestCase
>>> _______________________________________________
>>> jboss-as7-dev mailing list
>>> jboss-as7-dev@lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>>
>> _______________________________________________
>> jboss-as7-dev mailing list
>> jboss-as7-dev@lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>
>
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev

_______________________________________________
jboss-as7-dev mailing list
jboss-as7-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev