/
Test Suite Document Examination for Multi-Tenant

Test Suite Document Examination for Multi-Tenant

 

<serm>Here is my thought. </serm>

Since there is a multi-tenant switch and @Jim Wilson Jim wants to release multitenant mid Jan. And I notice that @Jim Wilson has turned off a lot of functionality at this time in the multi-tenant mode at this time. I think it is best to keep the multi-tenant branch separate and only write test scripts for that branch, which at this point seems to be mainly about a) end users can manage BIEs appropriately and b) that admin users can manage users/tenants appropriately.

So if this strategy were to be adopted, we will want to change the branch name from develop to multi-tenant. For the test cases/scripts, just add the specifics about multi-tenant to them. I think it should be fine to simply add Test Suites/Cases/Scripts necessary for multi-tenant and leave the current Test Suites/Cases as-is (and we rewrite these tests we pre-condition them with the single-tenant deployment).

Since a Score instance is deployed either single-tenant or multi-tenant mode, I guess going forward the test scripts have to be executed two times when both modes share the same code base. To have a single code base for test cases/scripts, they will have to have pre-conditions (if-statement) for behaviors specific to the multi-tenant or vice versa. But there must be a way to interrogate the application from the UI about its deployment mode to facilitate such pre-condition test.