Variant Handling

vTESTstudio

vTESTstudio offers you full support of ECU variants and test variants. In vTESTstudio, variants are represented by so called variant properties. Within a test project, you define as many variant properties as you wish, e.g. the ECU variant “Country [US, Europe]” or the test variant “Coverage [Full, Regression]”.

Define the value of a variant property in advance when designing the test, or set it shortly before the test starts. You can define the test structure, the test sequence and parameter values dependent on variants. Your benefit is the increased reuse of test functions, parameters and entire libraries, even across different product lines.
 

Test Execution Tree

The structure of the test execution tree can depend on one or more variant properties. For example, individual test cases can only be relevant for a specific instance of an ECU, or entire test groups can only be executed in a specific test variant (for example, a complete test in contrast to a regression test).

Variant conditions for test cases and test groups can be based on one or more variant properties. Multiple conditions can be linked using logical operators.

If the condition defined for a test case or a test group is not fulfilled, this element does not appear for the test execution in CANoe.

Test Sequence

The execution sequence within a test case can depend on one or more variant properties. This can be modeled using corresponding if-/else statements or special graphical elements.

Parameters

If individual values (e.g. configuration parameters for the ECU) depend on a variant property, this can be defined in the parameter editor. You can also define variant-dependent list parameters. For example, the set of values in a list of to-be-tested temperatures may depend on the variant property "test depth": more temperature values are tested for a complete test than for a smoke test.

At test execution time, the appropriate values for the set variant are automatically used without having to adjust the actual test sequence (e.g., in the test table test chart editor).

More About vTESTstudio and Other Features

Let's Discuss Your Use Case
Let's Discuss Your Use Case
Whether you’re exploring options or already planning your next steps, share your requirements with us. We support you in finding the right solution.