Hi All, We have finish with migrating test framework core to TestNG. Lets start migrating our test cases as well. A new test core module has been introduced, our plan is to get rid of older test core module after migrating all tests into TestNG. As a convention we are not going to maintain testNG suite.xml files. Instead you can include your tests in to suite classes. Please refer [1] for an example.
We used ITestListener and ISuiteListener implementations to over come of difficulty of using classes with @BeforeSuite and @AftereSuite annotations in each test module. TestNG listeners gave us more flexibility to mange all tests using sure-fire plugin defined in root pom. When writing test cases, make sure to use org.wso2.platform.integration.core as your new test core module. Also you have to use UserListCsvReader to retrieve user information. Thanks everybody for the effort put into test core migration. Lets try to finish test case migration with the same momentum. Thanks, Krishantha. [1] https://svn.wso2.org/repos/wso2/trunk/carbon/platform-integration/system-test-framework/scenario/org.wso2.stratos.test.auto/src/test/java/org/wso2/stratos/automation/test/esb/ESBTestSuite.java
_______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
