Testing of systems with many variants
The variants management of TestBench supports the testing of systems with many variants. Our main focus lies on the comfortable, low redundancy test specification for system variants which must be tested independently, although large parts of the test specification are shared.
In the course of the variants management, the test object version will be marked as so-called base text object version which contains the joint test specification of a product line. From this base test object version, test object versions will be derived for the single products as variants versions which each contain the test specification for one of the product line products.
When deriving a variant, the number of tests will be adapted to the variants. For this, so-called variant markers are used which can be assigned to test themes, test sets and test cases. During derivation, these markers decide if one of these elements will be adopted in the variant or not.
In addition to the adaptation to the number, the parameter data will be adjusted to the variant in a second step. For this, so-called placeholders will be used which will be applied as representatives instead of normal representatives. For each variant it is necessary to define which value is assigned to the placeholder. When deriving the variant, this placeholder value will be entered in the placeholder.
After having carried out these two rules, a variant specific test object version was created from the variant across basic test object version.
For each base test object version, the following elements can be applied and edited in the variants management:
The section placeholder describes the list of placeholders which are used in the base test object version instead of concrete representatives.
The section Replacement Table connects the variants with the placeholders. This allows concrete values to be entered for each placeholder in each variant.
Once the placeholders and variants definitions in the variants management have been determined, the defined objects can be used in the specification of the base test object version.
For each variant in the base test object version a variants marker as special keyword will be available. These can be added to test sets and test cases in order to specify that the indicated element is only relevant for specific variants.
After derivation, all placeholders in the variant version are replaced by the concrete value of the correspondent variant definition. Test themes, test sets and test cases which only refer to other variants will be removed during derivation.
Besides the typical scenario for variants in tests as e.g. figure of variants of a product line, it is also possible with the variants management to display the internationalisation and localisation tests as with this, the specifics of a language like special characters or special designations can be easily compared.