Re: [Carbon-dev] Discussion about changes to Carbon test framework in trunk

2011-12-13 Thread Afkham Azeez
After a short discussion with Krishantha & Charith, it seems like TestNG is
much more suitable for the type of integration testing we do. We will
research on this a bit more and try to come up with  way in which we can
use this in the platform.

On Mon, Dec 12, 2011 at 11:41 PM, Afkham Azeez  wrote:

> Folks,
> I would like to review & make changes to the current Carbon integration
> test framework we have in carbon core. It is a bit of a mess now with
> people doing artifact copying in various ways. I would like to introduce a
> CarbonTestRunner. A server will be started per CarbonTestRunner instance.
> CarbonTestRunner is a TestSuite. In your Carbon test cases you will
> implement the copyArtifacts method. CarbonTestRunner will first call
> copyArtifacts on all test cases, start the server, and run the tests.
> Different product teams are doing this in various hacky ways now, but we
> need to have a proper way of doing this.
>
> In addition, we have also think about starting up multiple Carbon servers
> per CarbonTestRunner.
>
> Can we have a short design discussion about this tomorrow at 10AM?
>
> --
> *Afkham Azeez*
> Director of Architecture; WSO2, Inc.; http://wso2.com
> Member; Apache Software Foundation; http://www.apache.org/
> * **
> email: **az...@wso2.com* * cell: +94 77 3320919
> blog: **http://blog.afkham.org* *
> twitter: **http://twitter.com/afkham_azeez*
> *
> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
> *
> *
> *Lean . Enterprise . Middleware*
>
>


-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* **
email: **az...@wso2.com* * cell: +94 77 3320919
blog: **http://blog.afkham.org* *
twitter: **http://twitter.com/afkham_azeez*
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Discussion about changes to Carbon test framework in trunk

2011-12-12 Thread Senaka Fernando
Hi Krishantha,

Oh, that's great. I wasn't aware of all of it. Will have a look into this
when I find sometime, to ensure that we are covering all popular
combinations.

Thanks,
Senaka.

On Tue, Dec 13, 2011 at 11:23 AM, Krishantha Samaraweera <
krishan...@wso2.com> wrote:

>
>
> On Tue, Dec 13, 2011 at 8:41 AM, Senaka Fernando  wrote:
>
>> +1. I'd like to see how we can make use of this framework to automate
>> testing of concerns such as replicated caching, clustering, mounting and
>> also to understand how this can eventually grow to automate the testing of
>> multitenancy and related aspects.
>>
>
> In System test framework we have done some work to configure products with
> mounts, clusters, different DBs etc.. And also we start multiple servers
> with all configs etc to run automated tests. Anyway carbon test framework
> and system test framework are two different things.
>
> +1, for unified
>
> Thanks,
> Krishantha.
>
>
>> Thanks,
>> Senaka.
>>
>> On Tue, Dec 13, 2011 at 6:28 AM, Srinath Perera  wrote:
>>
>>> +1 .. Azeez talked to Krishantha as well, and we did some related work
>>> for automation framework
>>> --Srinath
>>>
>>> On Tue, Dec 13, 2011 at 12:11 AM, Charith Wickramarachchi
>>>  wrote:
>>> >
>>> >
>>> > On Mon, Dec 12, 2011 at 11:41 PM, Afkham Azeez  wrote:
>>> >>
>>> >> Folks,
>>> >> I would like to review & make changes to the current Carbon
>>> integration
>>> >> test framework we have in carbon core. It is a bit of a mess now with
>>> people
>>> >> doing artifact copying in various ways. I would like to introduce a
>>> >> CarbonTestRunner. A server will be started per CarbonTestRunner
>>> instance.
>>> >> CarbonTestRunner is a TestSuite. In your Carbon test cases you will
>>> >> implement the copyArtifacts method. CarbonTestRunner will first call
>>> >> copyArtifacts on all test cases, start the server, and run the tests.
>>> >> Different product teams are doing this in various hacky ways now, but
>>> we
>>> >> need to have a proper way of doing this.
>>> >>
>>> >> In addition, we have also think about starting up multiple Carbon
>>> servers
>>> >> per CarbonTestRunner.
>>> >>
>>> >> Can we have a short design discussion about this tomorrow at 10AM?
>>> >
>>> >
>>> >
>>> > +1
>>> >
>>> > For come up with a Unified  Framework.
>>> >
>>> > cheers,
>>> > Charith
>>> >
>>> >
>>> >>
>>> >>
>>> >>
>>> >> --
>>> >> Afkham Azeez
>>> >> Director of Architecture; WSO2, Inc.; http://wso2.com
>>> >> Member; Apache Software Foundation; http://www.apache.org/
>>> >>
>>> >> email: az...@wso2.com cell: +94 77 3320919
>>> >> blog: http://blog.afkham.org
>>> >> twitter: http://twitter.com/afkham_azeez
>>> >> linked-in: http://lk.linkedin.com/in/afkhamazeez
>>> >>
>>> >> Lean . Enterprise . Middleware
>>> >>
>>> >
>>> >
>>> >
>>> > --
>>> > Charith Dhanushka Wickramarachchi
>>> > Software Engineer
>>> > WSO2 Inc
>>> > http://wso2.com/
>>> > http://wso2.org/
>>> >
>>> > blog
>>> > http://charithwiki.blogspot.com/
>>> >
>>> > twitter
>>> > http://twitter.com/charithwiki
>>> >
>>> > Mobile : 0776706568
>>> >
>>> >
>>>
>>>
>>>
>>> --
>>> 
>>> Srinath Perera, Ph.D.
>>>   Senior Software Architect, WSO2 Inc.
>>>   Visiting Faculty, University of Moratuwa
>>>   Member, Apache Software Foundation
>>>   Research Scientist, Lanka Software Foundation
>>>   Blog: http://srinathsview.blogspot.com/
>>>   Photos: http://www.flickr.com/photos/hemapani/
>>> ___
>>> Carbon-dev mailing list
>>> Carbon-dev@wso2.org
>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>
>>
>>
>> --
>> *Senaka Fernando*
>> Product Manager - WSO2 Governance Registry;
>> Associate Technical Lead; WSO2 Inc.; http://wso2.com*
>> Member; Apache Software Foundation; http://apache.org
>>
>> E-mail: senaka AT wso2.com
>> **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
>> Linked-In: http://linkedin.com/in/senakafernando
>>
>> *
>> Lean . Enterprise . Middleware
>>
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
*Senaka Fernando*
Product Manager - WSO2 Governance Registry;
Associate Technical Lead; WSO2 Inc.; http://wso2.com*
Member; Apache Software Foundation; http://apache.org

E-mail: senaka AT wso2.com
**P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
Linked-In: http://linkedin.com/in/senakafernando

*Lean . Enterprise . Middleware
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Discussion about changes to Carbon test framework in trunk

2011-12-12 Thread Krishantha Samaraweera
On Tue, Dec 13, 2011 at 8:41 AM, Senaka Fernando  wrote:

> +1. I'd like to see how we can make use of this framework to automate
> testing of concerns such as replicated caching, clustering, mounting and
> also to understand how this can eventually grow to automate the testing of
> multitenancy and related aspects.
>

In System test framework we have done some work to configure products with
mounts, clusters, different DBs etc.. And also we start multiple servers
with all configs etc to run automated tests. Anyway carbon test framework
and system test framework are two different things.

+1, for unified

Thanks,
Krishantha.


> Thanks,
> Senaka.
>
> On Tue, Dec 13, 2011 at 6:28 AM, Srinath Perera  wrote:
>
>> +1 .. Azeez talked to Krishantha as well, and we did some related work
>> for automation framework
>> --Srinath
>>
>> On Tue, Dec 13, 2011 at 12:11 AM, Charith Wickramarachchi
>>  wrote:
>> >
>> >
>> > On Mon, Dec 12, 2011 at 11:41 PM, Afkham Azeez  wrote:
>> >>
>> >> Folks,
>> >> I would like to review & make changes to the current Carbon integration
>> >> test framework we have in carbon core. It is a bit of a mess now with
>> people
>> >> doing artifact copying in various ways. I would like to introduce a
>> >> CarbonTestRunner. A server will be started per CarbonTestRunner
>> instance.
>> >> CarbonTestRunner is a TestSuite. In your Carbon test cases you will
>> >> implement the copyArtifacts method. CarbonTestRunner will first call
>> >> copyArtifacts on all test cases, start the server, and run the tests.
>> >> Different product teams are doing this in various hacky ways now, but
>> we
>> >> need to have a proper way of doing this.
>> >>
>> >> In addition, we have also think about starting up multiple Carbon
>> servers
>> >> per CarbonTestRunner.
>> >>
>> >> Can we have a short design discussion about this tomorrow at 10AM?
>> >
>> >
>> >
>> > +1
>> >
>> > For come up with a Unified  Framework.
>> >
>> > cheers,
>> > Charith
>> >
>> >
>> >>
>> >>
>> >>
>> >> --
>> >> Afkham Azeez
>> >> Director of Architecture; WSO2, Inc.; http://wso2.com
>> >> Member; Apache Software Foundation; http://www.apache.org/
>> >>
>> >> email: az...@wso2.com cell: +94 77 3320919
>> >> blog: http://blog.afkham.org
>> >> twitter: http://twitter.com/afkham_azeez
>> >> linked-in: http://lk.linkedin.com/in/afkhamazeez
>> >>
>> >> Lean . Enterprise . Middleware
>> >>
>> >
>> >
>> >
>> > --
>> > Charith Dhanushka Wickramarachchi
>> > Software Engineer
>> > WSO2 Inc
>> > http://wso2.com/
>> > http://wso2.org/
>> >
>> > blog
>> > http://charithwiki.blogspot.com/
>> >
>> > twitter
>> > http://twitter.com/charithwiki
>> >
>> > Mobile : 0776706568
>> >
>> >
>>
>>
>>
>> --
>> 
>> Srinath Perera, Ph.D.
>>   Senior Software Architect, WSO2 Inc.
>>   Visiting Faculty, University of Moratuwa
>>   Member, Apache Software Foundation
>>   Research Scientist, Lanka Software Foundation
>>   Blog: http://srinathsview.blogspot.com/
>>   Photos: http://www.flickr.com/photos/hemapani/
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>
>
>
> --
> *Senaka Fernando*
> Product Manager - WSO2 Governance Registry;
> Associate Technical Lead; WSO2 Inc.; http://wso2.com*
> Member; Apache Software Foundation; http://apache.org
>
> E-mail: senaka AT wso2.com
> **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
> Linked-In: http://linkedin.com/in/senakafernando
>
> *
> Lean . Enterprise . Middleware
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Discussion about changes to Carbon test framework in trunk

2011-12-12 Thread Danushka Menikkumbura
Also I think you need to have some startup/teardown impl in
CarbonTestRunner so that common init/cleanup work can be done in there. For
an example inserting a database entry at the beginning and deleting at the
end.

On Tue, Dec 13, 2011 at 10:44 AM, Afkham Azeez  wrote:

>
>
> On Tue, Dec 13, 2011 at 6:28 AM, Srinath Perera  wrote:
>
>> +1 .. Azeez talked to Krishantha as well, and we did some related work
>> for automation framework
>>
>
> The plan is to come up with a single framework which will reside in
> org.wso2.carbon.integration.core, which will be used by all the integration
> tests in the products as well as the automation tests. Something like the
> following.
>
>
> public class CarbonTestRunner extends TestSuite {
>
> public static Test suite() throws Exception {
> //copyArtifacts();
>
> TestSuite testSuite = new TestSuite();
>
> testSuite.addTestSuite(StartCarbonServerTest.class);
> testSuite.addTestSuite(LoginTest.class);
> testSuite.addTestSuite(SecurityVerificationTest.class);
>
> return testSuite;
> }
>
> public void copyArtifacts(){
>
> }
>
> public void startServers(){
>
> }
>
> public void runTests(){
>
> }
>
> public void shutdownServers(){
>
> }
> }
>
>
>> --Srinath
>>
>> On Tue, Dec 13, 2011 at 12:11 AM, Charith Wickramarachchi
>>  wrote:
>> >
>> >
>> > On Mon, Dec 12, 2011 at 11:41 PM, Afkham Azeez  wrote:
>> >>
>> >> Folks,
>> >> I would like to review & make changes to the current Carbon integration
>> >> test framework we have in carbon core. It is a bit of a mess now with
>> people
>> >> doing artifact copying in various ways. I would like to introduce a
>> >> CarbonTestRunner. A server will be started per CarbonTestRunner
>> instance.
>> >> CarbonTestRunner is a TestSuite. In your Carbon test cases you will
>> >> implement the copyArtifacts method. CarbonTestRunner will first call
>> >> copyArtifacts on all test cases, start the server, and run the tests.
>> >> Different product teams are doing this in various hacky ways now, but
>> we
>> >> need to have a proper way of doing this.
>> >>
>> >> In addition, we have also think about starting up multiple Carbon
>> servers
>> >> per CarbonTestRunner.
>> >>
>> >> Can we have a short design discussion about this tomorrow at 10AM?
>> >
>> >
>> >
>> > +1
>> >
>> > For come up with a Unified  Framework.
>> >
>> > cheers,
>> > Charith
>> >
>> >
>> >>
>> >>
>> >>
>> >> --
>> >> Afkham Azeez
>> >> Director of Architecture; WSO2, Inc.; http://wso2.com
>> >> Member; Apache Software Foundation; http://www.apache.org/
>> >>
>> >> email: az...@wso2.com cell: +94 77 3320919
>> >> blog: http://blog.afkham.org
>> >> twitter: http://twitter.com/afkham_azeez
>> >> linked-in: http://lk.linkedin.com/in/afkhamazeez
>> >>
>> >> Lean . Enterprise . Middleware
>> >>
>> >
>> >
>> >
>> > --
>> > Charith Dhanushka Wickramarachchi
>> > Software Engineer
>> > WSO2 Inc
>> > http://wso2.com/
>> > http://wso2.org/
>> >
>> > blog
>> > http://charithwiki.blogspot.com/
>> >
>> > twitter
>> > http://twitter.com/charithwiki
>> >
>> > Mobile : 0776706568
>> >
>> >
>>
>>
>>
>> --
>> 
>> Srinath Perera, Ph.D.
>>   Senior Software Architect, WSO2 Inc.
>>   Visiting Faculty, University of Moratuwa
>>   Member, Apache Software Foundation
>>   Research Scientist, Lanka Software Foundation
>>   Blog: http://srinathsview.blogspot.com/
>>   Photos: http://www.flickr.com/photos/hemapani/
>>
>
>
>
> --
> *Afkham Azeez*
> Director of Architecture; WSO2, Inc.; http://wso2.com
> Member; Apache Software Foundation; http://www.apache.org/
> * **
> email: **az...@wso2.com* * cell: +94 77 3320919
> blog: **http://blog.afkham.org* *
> twitter: **http://twitter.com/afkham_azeez*
> *
> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
> *
> *
> *Lean . Enterprise . Middleware*
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Discussion about changes to Carbon test framework in trunk

2011-12-12 Thread Afkham Azeez
On Tue, Dec 13, 2011 at 6:28 AM, Srinath Perera  wrote:

> +1 .. Azeez talked to Krishantha as well, and we did some related work
> for automation framework
>

The plan is to come up with a single framework which will reside in
org.wso2.carbon.integration.core, which will be used by all the integration
tests in the products as well as the automation tests. Something like the
following.


public class CarbonTestRunner extends TestSuite {

public static Test suite() throws Exception {
//copyArtifacts();

TestSuite testSuite = new TestSuite();

testSuite.addTestSuite(StartCarbonServerTest.class);
testSuite.addTestSuite(LoginTest.class);
testSuite.addTestSuite(SecurityVerificationTest.class);

return testSuite;
}

public void copyArtifacts(){

}

public void startServers(){

}

public void runTests(){

}

public void shutdownServers(){

}
}


> --Srinath
>
> On Tue, Dec 13, 2011 at 12:11 AM, Charith Wickramarachchi
>  wrote:
> >
> >
> > On Mon, Dec 12, 2011 at 11:41 PM, Afkham Azeez  wrote:
> >>
> >> Folks,
> >> I would like to review & make changes to the current Carbon integration
> >> test framework we have in carbon core. It is a bit of a mess now with
> people
> >> doing artifact copying in various ways. I would like to introduce a
> >> CarbonTestRunner. A server will be started per CarbonTestRunner
> instance.
> >> CarbonTestRunner is a TestSuite. In your Carbon test cases you will
> >> implement the copyArtifacts method. CarbonTestRunner will first call
> >> copyArtifacts on all test cases, start the server, and run the tests.
> >> Different product teams are doing this in various hacky ways now, but we
> >> need to have a proper way of doing this.
> >>
> >> In addition, we have also think about starting up multiple Carbon
> servers
> >> per CarbonTestRunner.
> >>
> >> Can we have a short design discussion about this tomorrow at 10AM?
> >
> >
> >
> > +1
> >
> > For come up with a Unified  Framework.
> >
> > cheers,
> > Charith
> >
> >
> >>
> >>
> >>
> >> --
> >> Afkham Azeez
> >> Director of Architecture; WSO2, Inc.; http://wso2.com
> >> Member; Apache Software Foundation; http://www.apache.org/
> >>
> >> email: az...@wso2.com cell: +94 77 3320919
> >> blog: http://blog.afkham.org
> >> twitter: http://twitter.com/afkham_azeez
> >> linked-in: http://lk.linkedin.com/in/afkhamazeez
> >>
> >> Lean . Enterprise . Middleware
> >>
> >
> >
> >
> > --
> > Charith Dhanushka Wickramarachchi
> > Software Engineer
> > WSO2 Inc
> > http://wso2.com/
> > http://wso2.org/
> >
> > blog
> > http://charithwiki.blogspot.com/
> >
> > twitter
> > http://twitter.com/charithwiki
> >
> > Mobile : 0776706568
> >
> >
>
>
>
> --
> 
> Srinath Perera, Ph.D.
>   Senior Software Architect, WSO2 Inc.
>   Visiting Faculty, University of Moratuwa
>   Member, Apache Software Foundation
>   Research Scientist, Lanka Software Foundation
>   Blog: http://srinathsview.blogspot.com/
>   Photos: http://www.flickr.com/photos/hemapani/
>



-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* **
email: **az...@wso2.com* * cell: +94 77 3320919
blog: **http://blog.afkham.org* *
twitter: **http://twitter.com/afkham_azeez*
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Discussion about changes to Carbon test framework in trunk

2011-12-12 Thread Senaka Fernando
+1. I'd like to see how we can make use of this framework to automate
testing of concerns such as replicated caching, clustering, mounting and
also to understand how this can eventually grow to automate the testing of
multitenancy and related aspects.

Thanks,
Senaka.

On Tue, Dec 13, 2011 at 6:28 AM, Srinath Perera  wrote:

> +1 .. Azeez talked to Krishantha as well, and we did some related work
> for automation framework
> --Srinath
>
> On Tue, Dec 13, 2011 at 12:11 AM, Charith Wickramarachchi
>  wrote:
> >
> >
> > On Mon, Dec 12, 2011 at 11:41 PM, Afkham Azeez  wrote:
> >>
> >> Folks,
> >> I would like to review & make changes to the current Carbon integration
> >> test framework we have in carbon core. It is a bit of a mess now with
> people
> >> doing artifact copying in various ways. I would like to introduce a
> >> CarbonTestRunner. A server will be started per CarbonTestRunner
> instance.
> >> CarbonTestRunner is a TestSuite. In your Carbon test cases you will
> >> implement the copyArtifacts method. CarbonTestRunner will first call
> >> copyArtifacts on all test cases, start the server, and run the tests.
> >> Different product teams are doing this in various hacky ways now, but we
> >> need to have a proper way of doing this.
> >>
> >> In addition, we have also think about starting up multiple Carbon
> servers
> >> per CarbonTestRunner.
> >>
> >> Can we have a short design discussion about this tomorrow at 10AM?
> >
> >
> >
> > +1
> >
> > For come up with a Unified  Framework.
> >
> > cheers,
> > Charith
> >
> >
> >>
> >>
> >>
> >> --
> >> Afkham Azeez
> >> Director of Architecture; WSO2, Inc.; http://wso2.com
> >> Member; Apache Software Foundation; http://www.apache.org/
> >>
> >> email: az...@wso2.com cell: +94 77 3320919
> >> blog: http://blog.afkham.org
> >> twitter: http://twitter.com/afkham_azeez
> >> linked-in: http://lk.linkedin.com/in/afkhamazeez
> >>
> >> Lean . Enterprise . Middleware
> >>
> >
> >
> >
> > --
> > Charith Dhanushka Wickramarachchi
> > Software Engineer
> > WSO2 Inc
> > http://wso2.com/
> > http://wso2.org/
> >
> > blog
> > http://charithwiki.blogspot.com/
> >
> > twitter
> > http://twitter.com/charithwiki
> >
> > Mobile : 0776706568
> >
> >
>
>
>
> --
> 
> Srinath Perera, Ph.D.
>   Senior Software Architect, WSO2 Inc.
>   Visiting Faculty, University of Moratuwa
>   Member, Apache Software Foundation
>   Research Scientist, Lanka Software Foundation
>   Blog: http://srinathsview.blogspot.com/
>   Photos: http://www.flickr.com/photos/hemapani/
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>



-- 
*Senaka Fernando*
Product Manager - WSO2 Governance Registry;
Associate Technical Lead; WSO2 Inc.; http://wso2.com*
Member; Apache Software Foundation; http://apache.org

E-mail: senaka AT wso2.com
**P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
Linked-In: http://linkedin.com/in/senakafernando

*Lean . Enterprise . Middleware
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Discussion about changes to Carbon test framework in trunk

2011-12-12 Thread Srinath Perera
+1 .. Azeez talked to Krishantha as well, and we did some related work
for automation framework
--Srinath

On Tue, Dec 13, 2011 at 12:11 AM, Charith Wickramarachchi
 wrote:
>
>
> On Mon, Dec 12, 2011 at 11:41 PM, Afkham Azeez  wrote:
>>
>> Folks,
>> I would like to review & make changes to the current Carbon integration
>> test framework we have in carbon core. It is a bit of a mess now with people
>> doing artifact copying in various ways. I would like to introduce a
>> CarbonTestRunner. A server will be started per CarbonTestRunner instance.
>> CarbonTestRunner is a TestSuite. In your Carbon test cases you will
>> implement the copyArtifacts method. CarbonTestRunner will first call
>> copyArtifacts on all test cases, start the server, and run the tests.
>> Different product teams are doing this in various hacky ways now, but we
>> need to have a proper way of doing this.
>>
>> In addition, we have also think about starting up multiple Carbon servers
>> per CarbonTestRunner.
>>
>> Can we have a short design discussion about this tomorrow at 10AM?
>
>
>
> +1
>
> For come up with a Unified  Framework.
>
> cheers,
> Charith
>
>
>>
>>
>>
>> --
>> Afkham Azeez
>> Director of Architecture; WSO2, Inc.; http://wso2.com
>> Member; Apache Software Foundation; http://www.apache.org/
>>
>> email: az...@wso2.com cell: +94 77 3320919
>> blog: http://blog.afkham.org
>> twitter: http://twitter.com/afkham_azeez
>> linked-in: http://lk.linkedin.com/in/afkhamazeez
>>
>> Lean . Enterprise . Middleware
>>
>
>
>
> --
> Charith Dhanushka Wickramarachchi
> Software Engineer
> WSO2 Inc
> http://wso2.com/
> http://wso2.org/
>
> blog
> http://charithwiki.blogspot.com/
>
> twitter
> http://twitter.com/charithwiki
>
> Mobile : 0776706568
>
>



-- 

Srinath Perera, Ph.D.
  Senior Software Architect, WSO2 Inc.
  Visiting Faculty, University of Moratuwa
  Member, Apache Software Foundation
  Research Scientist, Lanka Software Foundation
  Blog: http://srinathsview.blogspot.com/
  Photos: http://www.flickr.com/photos/hemapani/
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Discussion about changes to Carbon test framework in trunk

2011-12-12 Thread Charith Wickramarachchi
On Mon, Dec 12, 2011 at 11:41 PM, Afkham Azeez  wrote:

> Folks,
> I would like to review & make changes to the current Carbon integration
> test framework we have in carbon core. It is a bit of a mess now with
> people doing artifact copying in various ways. I would like to introduce a
> CarbonTestRunner. A server will be started per CarbonTestRunner instance.
> CarbonTestRunner is a TestSuite. In your Carbon test cases you will
> implement the copyArtifacts method. CarbonTestRunner will first call
> copyArtifacts on all test cases, start the server, and run the tests.
> Different product teams are doing this in various hacky ways now, but we
> need to have a proper way of doing this.
>
> In addition, we have also think about starting up multiple Carbon servers
> per CarbonTestRunner.
>
> Can we have a short design discussion about this tomorrow at 10AM?
>


+1

For come up with a Unified  Framework.

cheers,
Charith



>
>
> --
> *Afkham Azeez*
> Director of Architecture; WSO2, Inc.; http://wso2.com
> Member; Apache Software Foundation; http://www.apache.org/
> * **
> email: **az...@wso2.com* * cell: +94 77 3320919
> blog: **http://blog.afkham.org* *
> twitter: **http://twitter.com/afkham_azeez*
> *
> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
> *
> *
> *Lean . Enterprise . Middleware*
>
>


-- 
Charith Dhanushka Wickramarachchi
Software Engineer
WSO2 Inc
http://wso2.com/
http://wso2.org/

blog
http://charithwiki.blogspot.com/

twitter
http://twitter.com/charithwiki

Mobile : 0776706568
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Discussion about changes to Carbon test framework in trunk

2011-12-12 Thread Tharindu Mathew
+1, multiple carbon servers will definitely be helpful for bam integration
tests, to be confident that things don't break...

On Tue, Dec 13, 2011 at 12:02 AM, Afkham Azeez  wrote:

> This may change/break some of our existing stuff, but we need to do the
> proper thing. So, as part of this stabilization effort, let's properly fix
> it, and if we have to throw out existing stuff & make major changes, so be
> it.
>
>
> On Mon, Dec 12, 2011 at 11:41 PM, Afkham Azeez  wrote:
>
>> Folks,
>> I would like to review & make changes to the current Carbon integration
>> test framework we have in carbon core. It is a bit of a mess now with
>> people doing artifact copying in various ways. I would like to introduce a
>> CarbonTestRunner. A server will be started per CarbonTestRunner instance.
>> CarbonTestRunner is a TestSuite. In your Carbon test cases you will
>> implement the copyArtifacts method. CarbonTestRunner will first call
>> copyArtifacts on all test cases, start the server, and run the tests.
>> Different product teams are doing this in various hacky ways now, but we
>> need to have a proper way of doing this.
>>
>> In addition, we have also think about starting up multiple Carbon servers
>> per CarbonTestRunner.
>>
>> Can we have a short design discussion about this tomorrow at 10AM?
>>
>> --
>> *Afkham Azeez*
>> Director of Architecture; WSO2, Inc.; http://wso2.com
>> Member; Apache Software Foundation; http://www.apache.org/
>> * **
>> email: **az...@wso2.com* * cell: +94 77 3320919
>> blog: **http://blog.afkham.org* *
>> twitter: **http://twitter.com/afkham_azeez*
>> *
>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>> *
>> *
>> *Lean . Enterprise . Middleware*
>>
>>
>
>
> --
> *Afkham Azeez*
> Director of Architecture; WSO2, Inc.; http://wso2.com
> Member; Apache Software Foundation; http://www.apache.org/
> * **
> email: **az...@wso2.com* * cell: +94 77 3320919
> blog: **http://blog.afkham.org* *
> twitter: **http://twitter.com/afkham_azeez*
> *
> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
> *
> *
> *Lean . Enterprise . Middleware*
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Regards,

Tharindu

blog: http://mackiemathew.com/
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Discussion about changes to Carbon test framework in trunk

2011-12-12 Thread Afkham Azeez
This may change/break some of our existing stuff, but we need to do the
proper thing. So, as part of this stabilization effort, let's properly fix
it, and if we have to throw out existing stuff & make major changes, so be
it.

On Mon, Dec 12, 2011 at 11:41 PM, Afkham Azeez  wrote:

> Folks,
> I would like to review & make changes to the current Carbon integration
> test framework we have in carbon core. It is a bit of a mess now with
> people doing artifact copying in various ways. I would like to introduce a
> CarbonTestRunner. A server will be started per CarbonTestRunner instance.
> CarbonTestRunner is a TestSuite. In your Carbon test cases you will
> implement the copyArtifacts method. CarbonTestRunner will first call
> copyArtifacts on all test cases, start the server, and run the tests.
> Different product teams are doing this in various hacky ways now, but we
> need to have a proper way of doing this.
>
> In addition, we have also think about starting up multiple Carbon servers
> per CarbonTestRunner.
>
> Can we have a short design discussion about this tomorrow at 10AM?
>
> --
> *Afkham Azeez*
> Director of Architecture; WSO2, Inc.; http://wso2.com
> Member; Apache Software Foundation; http://www.apache.org/
> * **
> email: **az...@wso2.com* * cell: +94 77 3320919
> blog: **http://blog.afkham.org* *
> twitter: **http://twitter.com/afkham_azeez*
> *
> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
> *
> *
> *Lean . Enterprise . Middleware*
>
>


-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* **
email: **az...@wso2.com* * cell: +94 77 3320919
blog: **http://blog.afkham.org* *
twitter: **http://twitter.com/afkham_azeez*
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Discussion about changes to Carbon test framework in trunk

2011-12-12 Thread Afkham Azeez
Folks,
I would like to review & make changes to the current Carbon integration
test framework we have in carbon core. It is a bit of a mess now with
people doing artifact copying in various ways. I would like to introduce a
CarbonTestRunner. A server will be started per CarbonTestRunner instance.
CarbonTestRunner is a TestSuite. In your Carbon test cases you will
implement the copyArtifacts method. CarbonTestRunner will first call
copyArtifacts on all test cases, start the server, and run the tests.
Different product teams are doing this in various hacky ways now, but we
need to have a proper way of doing this.

In addition, we have also think about starting up multiple Carbon servers
per CarbonTestRunner.

Can we have a short design discussion about this tomorrow at 10AM?

-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* **
email: **az...@wso2.com* * cell: +94 77 3320919
blog: **http://blog.afkham.org* *
twitter: **http://twitter.com/afkham_azeez*
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev