hi All,

Earlier in AF integration test framework, default tenant and application
creation was called from each testcase separately. This issue was discussed
in [1] mail thread.

I came up with a improvement to do that call once by introducing a custom
TestNG listener class called "AppFactoryTestManagerListener" [2].

Now before start test case execution, listener will invoke the
"AFDefaultDataPopulator" and create the default tenant, application and 3
versions (defined in automation.xml) in AF setup.

[1] [Dev][App Factory] How to execute init methods only once in integration
tests base class
[2]
https://github.com/wso2/product-af/blob/master/modules/integration/tests-integration/tests-scenarios/src/test/java/org/wso2/appfactory/testlisteners/AppFactoryTestManagerListener.java

-- 
Thanks and Regards,

Punnadi Gunarathna
Senior Software Engineer,
WSO2, Inc.; http://wso2.com <http://wso2>
Blog: http://hi-my-world.blogspot.com/
Tel : 94 11 214 5345
Fax :94 11 2145300



 <http://lalajisureshika.blogspot.com/>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to