Adding [email protected]

Hi Ruskshan,

I have reviewed you proposal. According to your proposal you are going to
use JBehave as your test case generation engine. We have discussed the
limitation of JBhave in previous mail. I think you have to reconsider you
decision using JBehave as your test generation engine ( research about
extending JBehave rather then use it directly). Also try to describe your
proposal.  Please describe more about the proposed architecture and that
would help us to understand your proposal clearly.  Then we can finalize it
before you start implementing. Also try to clarify any point that is not
clear 100% to you about the project idea.

Note:  If you have any changes to the proposal , make them asap. We have
one more to the deadline.


Regards,
Malintha Adikari


On Tue, Mar 11, 2014 at 3:46 PM, Rukshan Chathuranga
<[email protected]>wrote:

> Hi malintha,
>
> Thank you for the replay. I have implemt some very simple testig with BDD
> and JBehave. After that write a blog about it on
> http://rukspot.com/?q=bddJBehaveTesting
>
> Also I will work on testing with WSO2 Application server with your this
> example.
>
> thanks and regards.
>
>
>
> On Tue, Mar 11, 2014 at 1:15 PM, Malintha Adikari <[email protected]>wrote:
>
>> Hi Rukshan,
>>
>> Nice to hear your progress on the project. Before prepare the proposal
>> for the project you have to investigate more it with JBehave. When you use
>> JBehave for Behavior Driven Development testing, you have to provide the
>> mapping class for each and every story. As an  example
>>
>> consider this story
>>
>> *Scenario: 2 squared*
>>
>> Given a variable x with value 2
>> When I multiply x by 2
>> Then x should equal 4
>>
>> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>>
>> So the *mapping class* should look like
>>
>>
>> public class ExampleSteps extends Steps {
>>     int x;
>>
>>     @Given("a variable x with value $value")
>>     public void givenXValue(@Named("value") int value) {
>>         x = value;
>>     }
>>
>>     @When("I multiply x by $value")
>>     public void whenImultiplyXBy(@Named("value") int value) {
>>         x = x * value;
>>     }
>>
>>     @Then("x should equal $value")
>>     public void thenXshouldBe(@Named("value") int value) {
>>         if (value != x)
>>             throw new RuntimeException("x is " + x + ", but should be " +
>> value);
>>     }
>> }
>>
>>
>> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>>
>> Additionally you have to provide a configuration class (one time) class
>> also.
>>
>> What we are worrying is providing mapping class per story. With our case
>> it would make some limitations. (We have hundreds of stories and hundreds
>> would be added in the future).
>>
>> What we want is automatically generate above mapping class (in runtime).
>> I will explain more about this point.
>>
>> Consider following example
>>
>> Test case in natural language
>>
>> 1. *Select* wso2-application *server*
>> 2. *Deploy* the *server*
>> 3. *Select* TestTenant as *tenant*
>> 4. *Deploy*  *tenant*
>> 5. *Login*
>> 6. *Upload* *artifact* abc.aar
>> 7. *Deploy* *artifact* abc.aar
>>
>> User would be able to give above kind of scenario.You can find several
>> keywords there (Select, server, Deploy, server, select,login....). This is
>> about the user aspect.
>>
>> Now lets consider about our backend aspect. We have backend API  methods
>> inline with above textual commands. If you look at the following backend
>> class
>>
>> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>>
>> package org.wso2.carbon.authenticator.stub;
>>
>> public class *AuthenticationAdminStub* extends
>> org.apache.axis2.client.Stub implements
>> org.wso2.carbon.authenticator.stub.AuthenticationAdmin {
>>     protected org.apache.axis2.description.AxisOperation[] _operations;
>>     private java.util.HashMap faultExceptionNameMap;
>>     private java.util.HashMap faultExceptionClassNameMap;
>>     private java.util.HashMap faultMessageMap;
>>     private static int counter;
>>     private javax.xml.namespace.QName[] opNameArray;
>>
>>     private static synchronized java.lang.String getUniqueSuffix() { /*
>> compiled code */ }
>>
>>     private void populateAxisService() throws org.apache.axis2.AxisFault
>> { /* compiled code */ }
>>
>>     private void populateFaults() { /* compiled code */ }
>>
>>     public
>> AuthenticationAdminStub(org.apache.axis2.context.ConfigurationContext
>> configurationContext, java.lang.String targetEndpoint) throws
>> org.apache.axis2.AxisFault { /* compiled code */ }
>>
>>      }
>>
>> public boolean *login*(java.lang.String username42, java.lang.String
>> password43, java.lang.String remoteAddress44) throws
>> java.rmi.RemoteException,
>> org.wso2.carbon.authenticator.stub.LoginAuthenticationExceptionException {
>> /* compiled code */ }
>>
>>     public void logout() throws java.rmi.RemoteException,
>> org.wso2.carbon.authenticator.stub.LogoutAuthenticationExceptionException {
>> /* compiled code */ }
>>
>>
>> ..................................................................................
>> }
>>
>>
>> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>>
>> We have to generate keywords for every API methods in this project . And
>> you have to come up with a design to auto generate keywords for every API
>> method in backend. Those keywords could be able used in scenarios.
>>
>> Meantime could you refer Robot Framework [1]. It is using same kind of
>> architecture which we want to use in this project[2].
>>
>>
>>
>>
>> [1]http://en.wikipedia.org/wiki/Robot_Framework
>> [2]
>> https://blog.codecentric.de/en/2012/03/robot-framework-tutorial-overview/
>>
>>
>> Regards,
>>
>>
>>
>> On Sun, Mar 9, 2014 at 11:17 AM, Rukshan Chathuranga <
>> [email protected]> wrote:
>>
>>> HI malintha,
>>>
>>>    in these day i am working on the experimenting on the Jbehave with
>>> eclipse. It is quite interesting and have different aspect of testing java
>>> application that i did before. up to now what i understood is purpose of
>>> this project is convert test cases written in natural language, in to
>>> redefine way that WSO2 TAF can run.
>>>
>>> Thus to make it more understanding and propose my proposal, what are the
>>> design aspect that should i consider?
>>> Then can you help me to make this contribution succesfull.
>>>
>>>  Thanks and regards.
>>>
>>>
>>>
>>>
>>> On Fri, Mar 7, 2014 at 9:59 AM, Rukshan Chathuranga <
>>> [email protected]> wrote:
>>>
>>>> HI malintha,
>>>>
>>>>    as you said i download the wso2 ESB and Application server. As first
>>>> step i got understand the what is ESB. Then i followed Getting starteded
>>>> Documentation on the download page. then i Followed the Sample Client and
>>>> server example. Also successfully configured the Wso2 Application server
>>>> and did some experiment on that.
>>>>
>>>> So i like know the what is my next step should be and overview of the
>>>> GSOC project requirement. Then need to know the what are the improvement
>>>> should i concern and required technology and tools.
>>>>
>>>> Thanks and regards.
>>>>
>>>>
>>>> On Thu, Mar 6, 2014 at 1:29 PM, Rukshan Chathuranga <
>>>> [email protected]> wrote:
>>>>
>>>>> Hi Malintha,
>>>>>
>>>>> I download the Application server and ESB. Next i will experiment on
>>>>> that things.
>>>>>
>>>>> Thanks for the resources and references.
>>>>>
>>>>>
>>>>> On Mon, Mar 3, 2014 at 10:41 AM, Malintha Adikari 
>>>>> <[email protected]>wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> Nice to hear the progress. Yes there are number of things you can do.
>>>>>>
>>>>>> 1. Download WSO2  product (ESB, Application Server  aka AS)
>>>>>> 2. Go to that product documentation samples section.
>>>>>> 3. Try some example scenarios.
>>>>>>
>>>>>> Also there are vary good articles about scenarios, feature... of
>>>>>> products in WSO2 library[1]. Read those articles.
>>>>>>
>>>>>> Meanwhile you can try to understand the use-cases. It would helpful
>>>>>> to you to improve your overall picture about WSO2 architecture.
>>>>>>
>>>>>> Also find some blogs about WSO2 related. Here are some of blogs come
>>>>>> to my mind.[2][3][4][5][6]
>>>>>>
>>>>>> Let's try to do some sample exercise later. Inform me after trying
>>>>>> some example.
>>>>>>
>>>>>> [1]http://wso2.com/library/
>>>>>> [2] http://madhukaudantha.blogspot.com/
>>>>>> [3] http://blog.samisa.org/
>>>>>> [4] http://techfeast-hiranya.blogspot.com/
>>>>>> [5]http://charithaka.blogspot.com/
>>>>>> [6] http://chanakaudaya.wordpress.com/
>>>>>>
>>>>>>
>>>>>> Regards,
>>>>>> Malintha Adikari
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Mon, Mar 3, 2014 at 9:26 AM, Rukshan Chathuranga <
>>>>>> [email protected]> wrote:
>>>>>>
>>>>>>> Hi Mlintha,
>>>>>>>
>>>>>>> I refer the documentation that you provided. that carbon and your
>>>>>>> esb are very interesting, Then is there any thing that i can practice to
>>>>>>> improve my knowledge?
>>>>>>>
>>>>>>> Thanks and regards.
>>>>>>>
>>>>>>>
>>>>>>> On Thu, Feb 27, 2014 at 10:27 PM, Malintha Adikari <
>>>>>>> [email protected]> wrote:
>>>>>>>
>>>>>>>> hi,
>>>>>>>>
>>>>>>>> Ok, keep it up, ping me for any question.
>>>>>>>>
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>>
>>>>>>>>
>>>>>>>> On Thu, Feb 27, 2014 at 8:59 PM, Rukshan Chathuranga <
>>>>>>>> [email protected]> wrote:
>>>>>>>>
>>>>>>>>> Hi Malintha,
>>>>>>>>>
>>>>>>>>> Thank you very much for you help. I will get understand this
>>>>>>>>> documentation in to deep.
>>>>>>>>>
>>>>>>>>> Thanks and regards.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Thu, Feb 27, 2014 at 1:30 PM, Malintha Adikari <
>>>>>>>>> [email protected]> wrote:
>>>>>>>>>
>>>>>>>>>> Hi,
>>>>>>>>>>
>>>>>>>>>> According to the project described in WSO2 ideas page[1] we
>>>>>>>>>> expect following deliverable
>>>>>>>>>>
>>>>>>>>>> 1.Tool with GUI to convert test scenarios into test suites.
>>>>>>>>>> 2.Test scenario document and test suite developed for WSO2
>>>>>>>>>> Application Server.
>>>>>>>>>>
>>>>>>>>>> BTW, you can look at jbehave[2] which is similar kind of tool and
>>>>>>>>>> do a research about applicability of that to this project.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> [1]
>>>>>>>>>> https://docs.wso2.org/display/GSoC/WSO2+GSoC+Project+Proposals#WSO2GSoCProjectProposals-Proposal16AutomatedtestcasegenerationtoolforWSO2products
>>>>>>>>>> [2]http://jbehave.org/
>>>>>>>>>>
>>>>>>>>>> Regards,
>>>>>>>>>> Malintha Adikari
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Thu, Feb 27, 2014 at 9:44 AM, Rukshan Chathuranga <
>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi Malintha,
>>>>>>>>>>>
>>>>>>>>>>> Thanks you very much for reply me. I will work on this and get
>>>>>>>>>>> deep understand about thongs you said. Can you tell me the what are 
>>>>>>>>>>> the
>>>>>>>>>>> criteria that you use for this evaluation.
>>>>>>>>>>>
>>>>>>>>>>> Thanks and regards.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On Wed, Feb 26, 2014 at 1:47 PM, Malintha Adikari <
>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hi Rukshan,
>>>>>>>>>>>>
>>>>>>>>>>>> Thank you for selecting WSO2 as your mentoring organization for
>>>>>>>>>>>> GSOC 2014. WSO2 Test Automation Framework (TAF) [1] is a
>>>>>>>>>>>> Framework which enables to perform as a automation framework 
>>>>>>>>>>>> addressing the
>>>>>>>>>>>> absence of a single framework which can perform equally in all 
>>>>>>>>>>>> stages of
>>>>>>>>>>>> the development and deployment cycles. TAF covers all of every 
>>>>>>>>>>>> products in
>>>>>>>>>>>> WSO2 [2]. Currently it provide facilities to write automate test 
>>>>>>>>>>>> cases and
>>>>>>>>>>>> execute them in preferred environments.
>>>>>>>>>>>>
>>>>>>>>>>>> The expectation of this project is developing a tool with a GUI
>>>>>>>>>>>> that can be used to generate the automated test cases for testing  
>>>>>>>>>>>> product
>>>>>>>>>>>> backend services (WSO2 Application Server... in this project) . The
>>>>>>>>>>>> generated code can be directly depend on the backend services of 
>>>>>>>>>>>> the
>>>>>>>>>>>> product and you can use the admin service APIs . Lets try to
>>>>>>>>>>>> understand the project using the overview architecture of the 
>>>>>>>>>>>> proposed
>>>>>>>>>>>> tool.
>>>>>>>>>>>>
>>>>>>>>>>>> *Input:* test scenarios described using natural language.
>>>>>>>>>>>>
>>>>>>>>>>>> *Output*: Output should be generated java classes for the
>>>>>>>>>>>> given scenario. Those test classes should be executed using WSO2 
>>>>>>>>>>>> Test
>>>>>>>>>>>> Automation Framework in the desired environment.
>>>>>>>>>>>>
>>>>>>>>>>>> *In the middle* - You have to come with a way to convert the
>>>>>>>>>>>> natural language test scenarios to test classes
>>>>>>>>>>>>
>>>>>>>>>>>> As the first steps before dig in to the project:
>>>>>>>>>>>> 1. Get familiar with WSO2 platform [4] and WSO2 Application
>>>>>>>>>>>> Server [3]
>>>>>>>>>>>> 2. Try to understand the backend operations related to WSO2
>>>>>>>>>>>> Application Server [5]
>>>>>>>>>>>> 3. Look at existing tests which have been written to test
>>>>>>>>>>>> backend services of WSO2 Application Server[5]
>>>>>>>>>>>>
>>>>>>>>>>>> Please feel free to contact me for any question.
>>>>>>>>>>>>
>>>>>>>>>>>> Also you can ask questions related to this project or other
>>>>>>>>>>>> WSO2 related matters from following mailing lists
>>>>>>>>>>>>
>>>>>>>>>>>> [email protected]
>>>>>>>>>>>> [email protected]
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> [1]
>>>>>>>>>>>> http://docs.wso2.org/display/TA100/WSO2+Test+Automation+Documentation
>>>>>>>>>>>> [2] http://wso2.com/products/
>>>>>>>>>>>> [3]http://wso2.com/products/application-server/
>>>>>>>>>>>> [4]http://wso2.com/library/articles/stuff-works-wso2-carbon/
>>>>>>>>>>>> [5]https://svn.wso2.org/repos/wso2/carbon/
>>>>>>>>>>>>
>>>>>>>>>>>> Regards,
>>>>>>>>>>>> Malintha Adikari
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> On Tue, Feb 25, 2014 at 10:46 AM, Rukshan Chathuranga <
>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> Hi Malintha,
>>>>>>>>>>>>>
>>>>>>>>>>>>> I am suppose to apply this year GSOC competition. I saw wso2
>>>>>>>>>>>>> in the list suddenly. Then i am very interested to know about some
>>>>>>>>>>>>> proposal. In this day we are at the intern and working with test 
>>>>>>>>>>>>> automation
>>>>>>>>>>>>> framework. then i like to know more about
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>    - Proposal 16: Automated test case generation tool for
>>>>>>>>>>>>>    WSO2 
>>>>>>>>>>>>> products<http://docs.wso2.org/display/GSoC/WSO2+GSoC+Project+Proposals#WSO2GSoCProjectProposals-Proposal16AutomatedtestcasegenerationtoolforWSO2products>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> Can you guide me to achieve this.
>>>>>>>>>>>>> Thanks and regards.
>>>>>>>>>>>>>  --
>>>>>>>>>>>>> Department Of Computer Science & Engineering,
>>>>>>>>>>>>> University Of Moratuwa,
>>>>>>>>>>>>> Sri lanka.
>>>>>>>>>>>>> Web: http://www.rukspot.com/
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> *Malintha Adikari*
>>>>>>>>>>>>  Software Engineer
>>>>>>>>>>>> WSO2 Inc.; http://wso2.com
>>>>>>>>>>>> lean.enterprise.middleware
>>>>>>>>>>>>
>>>>>>>>>>>> mobile: +94 71 2312958
>>>>>>>>>>>> Blog: http://malinthas.blogspot.com
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> Department Of Computer Science & Engineering,
>>>>>>>>>>> University Of Moratuwa,
>>>>>>>>>>> Sri lanka.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> *Malintha Adikari*
>>>>>>>>>>  Software Engineer
>>>>>>>>>> WSO2 Inc.; http://wso2.com
>>>>>>>>>> lean.enterprise.middleware
>>>>>>>>>>
>>>>>>>>>> mobile: +94 71 2312958
>>>>>>>>>> Blog: http://malinthas.blogspot.com
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Department Of Computer Science & Engineering,
>>>>>>>>> Faculty Of Engineering,
>>>>>>>>> University Of Moratuwa.
>>>>>>>>> Sri lanka.
>>>>>>>>> WEB: http://rukspot.com/
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> *Malintha Adikari*
>>>>>>>>  Software Engineer
>>>>>>>> WSO2 Inc.; http://wso2.com
>>>>>>>> lean.enterprise.middleware
>>>>>>>>
>>>>>>>> mobile: +94 71 2312958
>>>>>>>> Blog: http://malinthas.blogspot.com
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Department Of Computer Science & Engineering,
>>>>>>> Faculty Of Engineering,
>>>>>>> University Of Moratuwa.
>>>>>>> Sri lanka.
>>>>>>> WEB: http://rukspot.com/
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> *Malintha Adikari*
>>>>>>  Software Engineer
>>>>>> WSO2 Inc.; http://wso2.com
>>>>>> lean.enterprise.middleware
>>>>>>
>>>>>> mobile: +94 71 2312958
>>>>>> Blog: http://malinthas.blogspot.com
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Department Of Computer Science & Engineering,
>>>>> Faculty Of Engineering,
>>>>> University Of Moratuwa.
>>>>> Sri lanka.
>>>>> WEB: http://rukspot.com/
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Department Of Computer Science & Engineering,
>>>> Faculty Of Engineering,
>>>> University Of Moratuwa.
>>>> Sri lanka.
>>>> WEB: http://rukspot.com/
>>>>
>>>>
>>>
>>>
>>> --
>>> Department Of Computer Science & Engineering,
>>> Faculty Of Engineering,
>>> University Of Moratuwa.
>>> Sri lanka.
>>> WEB: http://rukspot.com/
>>>
>>>
>>
>>
>> --
>> *Malintha Adikari*
>>  Software Engineer
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> mobile: +94 71 2312958
>> Blog: http://malinthas.blogspot.com
>>
>
>
>
> --
> Department Of Computer Science & Engineering,
> Faculty Of Engineering,
> University Of Moratuwa.
> Sri lanka.
> WEB: http://rukspot.com/
>
>


-- 
*Malintha Adikari*
 Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: +94 71 2312958
Blog: http://malinthas.blogspot.com
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to