Re: [Carbon-dev] [Architecture] Migrate to TestNG

2011-12-15 Thread Nirmal Fernando
May be it's worth reading on migrating from Junit section (there's an Eclipse plugin) [1] and an user experience on migration [2], if you haven't referred to them yet. [1] http://testng.org/doc/migrating.html [2] http://www.opengamma.com/blog/2011/04/04/converting-opengamma-junit-testng On Wed,

Re: [Carbon-dev] [Architecture] Migrate to TestNG

2011-12-15 Thread Afkham Azeez
The migrating from JUnit section tries to facilitate a migration with minimal code changes while still keeping the old test code. IMO, that may work in the short run, but since the integration tests have become messy, I'd advice against trying to preserve old code, but look at it from a fresh

Re: [Carbon-dev] [Architecture] Migrate to TestNG

2011-12-15 Thread Nirmal Fernando
On Fri, Dec 16, 2011 at 12:18 AM, Afkham Azeez az...@wso2.com wrote: The migrating from JUnit section tries to facilitate a migration with minimal code changes while still keeping the old test code. IMO, that may work in the short run, but since the integration tests have become messy, I'd

Re: [Carbon-dev] [Architecture] Migrate to TestNG

2011-12-14 Thread Afkham Azeez
I have started implementing the test framework using TestNG. Initial code is available at carbon/core/integration/framework On Wed, Dec 14, 2011 at 10:36 AM, Afkham Azeez az...@wso2.com wrote: On Wed, Dec 14, 2011 at 6:49 AM, Srinath Perera srin...@wso2.com wrote: Hi Azeez, Are we doing

Re: [Carbon-dev] [Architecture] Migrate to TestNG

2011-12-14 Thread Nuwan Wimalasekara
+1. TestNG has test parameterization and multi threading test execution. these features also can be used. Thanks NuwanW On Tue, Dec 13, 2011 at 7:56 PM, Afkham Azeez az...@wso2.com wrote: Folks, I was playing around a bit with TestNG (

Re: [Carbon-dev] [Architecture] Migrate to TestNG

2011-12-13 Thread Srinath Perera
Hi Azeez, Are we doing this within the stabilization effort or after? I am +1 on overall, but bit concerned should we start this right now. --Srinath On Tue, Dec 13, 2011 at 8:15 PM, Afkham Azeez az...@wso2.com wrote: Let me give you a concrete example of how this will make testing very easy

Re: [Carbon-dev] [Architecture] Migrate to TestNG

2011-12-13 Thread Afkham Azeez
On Wed, Dec 14, 2011 at 6:49 AM, Srinath Perera srin...@wso2.com wrote: Hi Azeez, Are we doing this within the stabilization effort or after? I am +1 on overall, but bit concerned should we start this right now. There can be no concern because the JUnit tests we have right now are

Re: [Carbon-dev] [Architecture] Migrate to TestNG

2011-12-13 Thread Krishantha Samaraweera
On Tue, Dec 13, 2011 at 7:56 PM, Afkham Azeez az...@wso2.com wrote: Folks, I was playing around a bit with TestNG ( http://testng.org/doc/documentation-main.html#introduction) it seems to be the way to go for the type of integration testing we are doing. This may involve major changes at

Re: [Carbon-dev] [Architecture] Migrate to TestNG

2011-12-13 Thread Pradeep Fernando
+1 for TestNG. Have tried it sometime back. feature rich framework. Latest Junit support some of the features though. --Pradeep ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev