When I use -Dtest, test case failed since the Carbon server isn't started
up. How to fix it please?

On Tue, Jun 30, 2015 at 10:18 AM, Mahesh Chinthaka <mahe...@wso2.com> wrote:

> Hi Nuwan,
> Thats exactly  I wanted. Thank you.
>
> On Mon, Jun 29, 2015 at 6:49 PM, Nuwan Wimalasekara <nuw...@wso2.com>
> wrote:
>
>> Hi Mahesh,
>>
>> You can use -Dtest parameter to define the test classes which need to
>> run.
>>
>> mvn clean install  -Dtest=TestClassName
>>
>> Thanks,
>> Nuwanw
>>
>> On Mon, Jun 29, 2015 at 6:13 PM, Mahesh Chinthaka <mahe...@wso2.com>
>> wrote:
>>
>>> Hi all,
>>>
>>> Suppose I have declared some test cases in testng.xml file , is there a
>>> way that I could run one by one with each time i run mvn clean install.
>>>
>>> At the moment what we do is comment out rest of the test cases leaving
>>> required one enabled. Then run mvn clean install. Repeat the same for all
>>> the cases.
>>>
>>> Is there an another way to do without commenting out test cases in
>>> testng.xnl file ?  May be giving a parameter or something.
>>>
>>> mvn clean install -D<some_parameter_to_specify_test_case>
>>>
>>>
>>>
>>> thanks.
>>>
>>> --
>>> *Mahesh Chinthaka Vidanagama* | Software Engineer
>>> WSO2, Inc | lean. enterprise. middleware.
>>> #20, Palm Grove, Colombo 03, Sri Lanka
>>> Mobile: +94 71 63 63 083 | Work: +94 112 145 345
>>> Email: mahe...@wso2.com | Web: www.wso2.com
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Nuwan Wimalasekara
>> Senior Software Engineer - Test Automation
>> WSO2, Inc.: http://wso2.com
>> lean. enterprise. middleware
>>
>> phone: +94 71 668 4620
>>
>>
>>
>>
>
>
> --
> *Mahesh Chinthaka Vidanagama* | Software Engineer
> WSO2, Inc | lean. enterprise. middleware.
> #20, Palm Grove, Colombo 03, Sri Lanka
> Mobile: +94 71 63 63 083 | Work: +94 112 145 345
> Email: mahe...@wso2.com | Web: www.wso2.com
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

Thanks & regards,
Nirmal

Associate Technical Lead - Data Technologies Team, WSO2 Inc.
Mobile: +94715779733
Blog: http://nirmalfdo.blogspot.com/
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to