Hi All,

This addition will help to exclude environment oriented tests (Stratos
only, Integration only) tests from general test execution cycle.

With this we can manage all tests in common suites with out affecting
general test executions.



you can recommend rests for each environment and avoid them run on other
environments using the   @SetEnvironment annotation f for test class or for
the test method.

    @Test(groups = "wso2.all", description = "verify server startup errors")
    @SetEnvironment(executionEnvironments =
{ExecutionEnvironment.integration_user})
    public void testVerifyLogs() throws RemoteException {
}

*And you can use same annotation in class level to include all tests in the
test class for recommended environment only.*

Following environment options are available for now

   -    * integration_all *        - Integration tests in user and tenant
   mode
   -   *  integration_user*      -Integration tests in user mode only
   -     *integration_tenant *  - Integration tests for tenant mode only
   -  *   platform_all *           - Platform tests in user and tenant mode
   -     *platform_user*         - Platform tests in user mode only,
   -   *  platform_tenant*       - Platform tests in user mode only
   -   *  stratos *                  -Stratos tests only
   -   *  all *                        - All above scenarios in all user
   modes (default)

If annotation is not posted it will consider as default(all).

Thank You,
Dharshana.


-- 

Dharshana Warusavitharana
Software Engineer , Test Automation
WSO2 Inc. http://wso2.com
email : [email protected] <[email protected]>
cell : +94772202595
blog : http://dharshanaw.blogspot.com

lean . enterprise . middleware
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to