Thanks Dharshana. This will be a great addition to the Clarity framework.
Lets apply this to a product like DSS with average test count and get all
integration tests run on MT mode.

We need to measure the time taken for all tests and fine tune the code if
this introduce any extra delays.

Thanks,
Krishantha.

On Mon, Oct 22, 2012 at 8:05 PM, Dharshana Warusavitharana <
[email protected]> wrote:

> Hi All,
>
> $ subject is added to the clarity. This allows to test both tenant mode
> and user mode in a same product with in single test execution.
> By using this we can cover all user related features and all tenant
> related features in a single test execution.
>
> To go with Mixed mode test executions you have to add following properties
> for the clarity.properties file
>
> *stratos.test=false*
> *execution.environment=integration*
> *execution.mode=all*
> *port.enable=true*
>
> you can add *integration ,platform or stratos *to initiate the
> environment and either* user,tenant* or* all* modes to initiate which
> user mode the tests should execute (* all* is for both user and tenant
> modes).
>
> Also you can recommend rests for each environment and avoid them run on
> other environments using the   @SetEnvironment annotation for the
> test method.
>
>     @Test(groups = "wso2.all", description = "verify server startup
> errors")
>     @SetEnvironment(executionEnvironments =
> {ExecutionEnvironment.integration_user})
>     public void testVerifyLogs() throws RemoteException {
> }
>
> the allowed annotations executionEnvironments are     integration_all,
> integration_user,    integration_tenant,    platform_all,
> platform_user,    platform_tenant,    stratos,    all.
>
> The patch is created and added to the jira at [1]
>
> [1] https://wso2.org/jira/browse/TA-597
>
> Thank You,
> Dharshana.
> --
>
> Dharshana Warusavitharana
> Software Engineer , Test Automation
> WSO2 Inc. http://wso2.com
> email : [email protected] <[email protected]>
> cell : +94772202595
> blog : http://dharshanaw.wordpress.com/
>
> lean . enterprise . middleware
>
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to