Senin, 23 November 2009

The newest version (2.0.1) of WSO2 carbon family of prodcuts released

The latest version of WSO2 carbon based products were released yesterday. More info can be found at http://wso2.org/projects/carbon

New Features in This Release
----------------------------
  • Improved transaction support.
  • Improved Support for deploying on top of WebSphere, WebLogic, and
  • JBoss.
  • P2 based provisioning for WSO2 Carbon family of products.
  • Numerous bug fixes.

Rabu, 18 November 2009

How to pass system properties to maven surefire plugin test run

While developing WSO2 QA test framework (which is based on selenium RC), we wanted to give users the choice of selecting test cases without running whole suite at once. Our plan was to pass a system property during maven test run. However, passing a system property directly through command line does not work since the surefire plugin is run under a different JVM instance that is launched by Maven.
In order to overcome this, maven surefire plugin can be configured as follows by specifying the required system property.




test.suite
${test.suite}




According to this example configuration, we can run test suite with passing a system property as follows.

'mvn clean install -Dtest.suite=test-case'