Re: [Dev] App Manager Test Framework is upgraded to 4.4.2

2015-09-10 Thread Krishantha Samaraweera
Hi Dilan,

On Thu, Sep 10, 2015 at 12:20 PM, Chathura Dilan  wrote:

> Hi Krishantha,
>
> Sorry, previous test cases use 4.2.7 for UI automation and we are no
> longer using org.wso2.carbon.automation.core.utils,
>  org.wso2.carbon.automation.utils.esb
> and org.wso2.carbon.automation.utils.services packages . Previous test
> cases are heavily depend on their classes, therefore, we will have to write
> test cases from the scratch.
>

I can't understand why you need to write test cases from the scratch. You
just need to modify the test initialisation logic.

We did migrate 1000 tests in G-Reg and ESB but never rewrite the tests
again.

Thanks,
Krishantha.


> On Thu, Sep 10, 2015 at 10:47 AM, Krishantha Samaraweera <
> krishan...@wso2.com> wrote:
>
>>
>>
>> On Tue, Sep 8, 2015 at 12:00 PM, Chathura Dilan 
>> wrote:
>>
>>> Hi all,
>>>
>>> I have upgraded App Manager Test Framework to 4.4.2
>>>
>>> Following tasks has been done
>>>
>>> 1. Upgraded App Manager Test Framework to 4.4.2 from 4.3
>>> 2. Changed the test port offset to 600
>>> 3. Create a custom CarbonServerExtension to change port values of the
>>> configuration files app-manager.xml and sso-idp-conf.xml
>>> 4. Added a Test Case to AppM publisher Sign In
>>>
>>> However previous test cases are not working due to API changes of the
>>> test framework. We need to rewrite them to work with 4.4.2
>>>
>>
>> I don't think you need to rewrite all tests here. Just fixing the
>> compilations failures wouldn't be enough ? TAF 4.3 already contain major
>> api changes. Changes we have introduced in 4.4.2 is related to exception
>> handling etc..
>>
>> Thanks,
>> Krishantha.
>>
>>
>>> --
>>> Regards,
>>>
>>> Chatura Dilan Perera
>>> *Senior Software Engineer** - WSO2 Inc.*
>>> www.dilan.me
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Krishantha Samaraweera
>> Senior Technical Lead - Test Automation
>> Mobile: +94 77 7759918
>> WSO2, Inc.; http://wso2.com/
>> lean . enterprise . middleware.
>>
>
>
>
> --
> Regards,
>
> Chatura Dilan Perera
> *Senior Software Engineer** - WSO2 Inc.*
> www.dilan.me
>



-- 
Krishantha Samaraweera
Senior Technical Lead - Test Automation
Mobile: +94 77 7759918
WSO2, Inc.; http://wso2.com/
lean . enterprise . middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] App Manager Test Framework is upgraded to 4.4.2

2015-09-10 Thread Chathura Dilan
Hi Krishantha,

Sorry, previous test cases use 4.2.7 for UI automation and we are no longer
using org.wso2.carbon.automation.core.utils,
 org.wso2.carbon.automation.utils.esb
and org.wso2.carbon.automation.utils.services packages . Previous test
cases are heavily depend on their classes, therefore, we will have to write
test cases from the scratch.

On Thu, Sep 10, 2015 at 10:47 AM, Krishantha Samaraweera <
krishan...@wso2.com> wrote:

>
>
> On Tue, Sep 8, 2015 at 12:00 PM, Chathura Dilan 
> wrote:
>
>> Hi all,
>>
>> I have upgraded App Manager Test Framework to 4.4.2
>>
>> Following tasks has been done
>>
>> 1. Upgraded App Manager Test Framework to 4.4.2 from 4.3
>> 2. Changed the test port offset to 600
>> 3. Create a custom CarbonServerExtension to change port values of the
>> configuration files app-manager.xml and sso-idp-conf.xml
>> 4. Added a Test Case to AppM publisher Sign In
>>
>> However previous test cases are not working due to API changes of the
>> test framework. We need to rewrite them to work with 4.4.2
>>
>
> I don't think you need to rewrite all tests here. Just fixing the
> compilations failures wouldn't be enough ? TAF 4.3 already contain major
> api changes. Changes we have introduced in 4.4.2 is related to exception
> handling etc..
>
> Thanks,
> Krishantha.
>
>
>> --
>> Regards,
>>
>> Chatura Dilan Perera
>> *Senior Software Engineer** - WSO2 Inc.*
>> www.dilan.me
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Krishantha Samaraweera
> Senior Technical Lead - Test Automation
> Mobile: +94 77 7759918
> WSO2, Inc.; http://wso2.com/
> lean . enterprise . middleware.
>



-- 
Regards,

Chatura Dilan Perera
*Senior Software Engineer** - WSO2 Inc.*
www.dilan.me
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] App Manager Test Framework is upgraded to 4.4.2

2015-09-10 Thread Chathura Dilan
Hi Krishantha,

Thanks, I will check that

On Thu, Sep 10, 2015 at 1:33 PM, Krishantha Samaraweera  wrote:

> Hi Dilan,
>
> On Thu, Sep 10, 2015 at 12:20 PM, Chathura Dilan 
> wrote:
>
>> Hi Krishantha,
>>
>> Sorry, previous test cases use 4.2.7 for UI automation and we are no
>> longer using org.wso2.carbon.automation.core.utils,
>>  org.wso2.carbon.automation.utils.esb
>> and org.wso2.carbon.automation.utils.services packages . Previous test
>> cases are heavily depend on their classes, therefore, we will have to write
>> test cases from the scratch.
>>
>
> I can't understand why you need to write test cases from the scratch. You
> just need to modify the test initialisation logic.
>
> We did migrate 1000 tests in G-Reg and ESB but never rewrite the tests
> again.
>
> Thanks,
> Krishantha.
>
>
>> On Thu, Sep 10, 2015 at 10:47 AM, Krishantha Samaraweera <
>> krishan...@wso2.com> wrote:
>>
>>>
>>>
>>> On Tue, Sep 8, 2015 at 12:00 PM, Chathura Dilan 
>>> wrote:
>>>
 Hi all,

 I have upgraded App Manager Test Framework to 4.4.2

 Following tasks has been done

 1. Upgraded App Manager Test Framework to 4.4.2 from 4.3
 2. Changed the test port offset to 600
 3. Create a custom CarbonServerExtension to change port values of the
 configuration files app-manager.xml and sso-idp-conf.xml
 4. Added a Test Case to AppM publisher Sign In

 However previous test cases are not working due to API changes of the
 test framework. We need to rewrite them to work with 4.4.2

>>>
>>> I don't think you need to rewrite all tests here. Just fixing the
>>> compilations failures wouldn't be enough ? TAF 4.3 already contain major
>>> api changes. Changes we have introduced in 4.4.2 is related to exception
>>> handling etc..
>>>
>>> Thanks,
>>> Krishantha.
>>>
>>>
 --
 Regards,

 Chatura Dilan Perera
 *Senior Software Engineer** - WSO2 Inc.*
 www.dilan.me

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


>>>
>>>
>>> --
>>> Krishantha Samaraweera
>>> Senior Technical Lead - Test Automation
>>> Mobile: +94 77 7759918
>>> WSO2, Inc.; http://wso2.com/
>>> lean . enterprise . middleware.
>>>
>>
>>
>>
>> --
>> Regards,
>>
>> Chatura Dilan Perera
>> *Senior Software Engineer** - WSO2 Inc.*
>> www.dilan.me
>>
>
>
>
> --
> Krishantha Samaraweera
> Senior Technical Lead - Test Automation
> Mobile: +94 77 7759918
> WSO2, Inc.; http://wso2.com/
> lean . enterprise . middleware.
>



-- 
Regards,

Chatura Dilan Perera
*Senior Software Engineer** - WSO2 Inc.*
www.dilan.me
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] App Manager Test Framework is upgraded to 4.4.2

2015-09-09 Thread Chathura Dilan
Hi all,

You can run App Manager UI Integration tests using following command

mvn clean install -DskipUiTests=false

however WSO2 Jenkins builds the product-appmanager without skipping the UI
tests by setting skipUiTests value to false

On Tue, Sep 8, 2015 at 12:00 PM, Chathura Dilan  wrote:

> Hi all,
>
> I have upgraded App Manager Test Framework to 4.4.2
>
> Following tasks has been done
>
> 1. Upgraded App Manager Test Framework to 4.4.2 from 4.3
> 2. Changed the test port offset to 600
> 3. Create a custom CarbonServerExtension to change port values of the
> configuration files app-manager.xml and sso-idp-conf.xml
> 4. Added a Test Case to AppM publisher Sign In
>
> However previous test cases are not working due to API changes of the test
> framework. We need to rewrite them to work with 4.4.2
>
> --
> Regards,
>
> Chatura Dilan Perera
> *Senior Software Engineer** - WSO2 Inc.*
> www.dilan.me
>



-- 
Regards,

Chatura Dilan Perera
*Senior Software Engineer** - WSO2 Inc.*
www.dilan.me
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] App Manager Test Framework is upgraded to 4.4.2

2015-09-09 Thread Krishantha Samaraweera
On Tue, Sep 8, 2015 at 12:00 PM, Chathura Dilan  wrote:

> Hi all,
>
> I have upgraded App Manager Test Framework to 4.4.2
>
> Following tasks has been done
>
> 1. Upgraded App Manager Test Framework to 4.4.2 from 4.3
> 2. Changed the test port offset to 600
> 3. Create a custom CarbonServerExtension to change port values of the
> configuration files app-manager.xml and sso-idp-conf.xml
> 4. Added a Test Case to AppM publisher Sign In
>
> However previous test cases are not working due to API changes of the test
> framework. We need to rewrite them to work with 4.4.2
>

I don't think you need to rewrite all tests here. Just fixing the
compilations failures wouldn't be enough ? TAF 4.3 already contain major
api changes. Changes we have introduced in 4.4.2 is related to exception
handling etc..

Thanks,
Krishantha.


> --
> Regards,
>
> Chatura Dilan Perera
> *Senior Software Engineer** - WSO2 Inc.*
> www.dilan.me
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Krishantha Samaraweera
Senior Technical Lead - Test Automation
Mobile: +94 77 7759918
WSO2, Inc.; http://wso2.com/
lean . enterprise . middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev