Once your product integration tests have been migrated to TestNG, do the
following:

1. Specify the sec.verifier.dir System property in the
maven-surefire-plugin configuration section;

e.g. <sec.verifier.dir>
${basedir}/../../../../../core/integration/security-verifier/</sec.verifier.dir>

2. Add the SecurityVerificationTestCase. You only need to
extend SecurityVerificationTest & don't have to implement anything.

e.g.
import org.wso2.carbon.integration.framework.SecurityVerificationTest;

/**
 * Test to ensure that the WSO2 AS is properly secured
 */
public class SecurityVerificationTestCase extends SecurityVerificationTest {
}

That is it.

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

Reply via email to