/
Impact of Model Constructs on Test Generation

Impact of Model Constructs on Test Generation

Conformiq offers different mechanisms to generate, import, or cover specific test data which can easily increase the computational complexity of a model

  1. Combinatorial action (used with alternative values)

  2. Combinatorial & exploratory data coverage in input actions

  3. Specification of value lists in external spreadsheet files (like Excel)

Conformiq uses and at same time validates all test data specified as part of input action constraints during test generation. By default, every individual data element or generated combination is a coverage target. The more data elements in the model (e.g., Excel rows, data combinations), the longer the test generation.

Recommendation: Use these constructs with care and check your project for Livecheck warnings regarding computational complexity.

Recommendation: Please check if adding data into the model adds any value to the model (for e.g., as variables to control the flows, to create optimized set of data). If not, the data can be added to the test during execution (either manually or automatically through a tool, with appropriate change to framework).

Recommendation: Even though Creator’s capability can be used for various end goals (for e.g., as test data generator or pre-requisite setup through automatic flow execution via Creator’s integration with such tools), please analyze the impact on the core purpose and Creator’s core capability – modelling and/for automatic and optimized test case generation, with data.

 

See section Model Combinatorial Data Only After Completing Modelling of Targeted Functionality and section Limit Use of Combinatorial Data to Avoid Test Case Explosion

See also “Combinatorial Testing with Conformiq Creator ” for further read.

Expect longer test generation times for Excel files with more than 100 rows.

Recommendation: Please check and, if possible, use Data Tables modelling construct available within Creator.

It is important to understand that

  1. Combinations that are invalid or not necessary to be covered can be “Blocked”. Review test target settings for combinations.

  2. Conformiq can generate data from pure logic, i.e., it is not required to specify test data in a model to get tests with test data

  3. More test data does not imply better tests or coverage – it just means more tests.

Find more advice in section Test Generation of this document.

Related content

Model Combinatorial Data Only After Completing Modelling of Targeted Functionality
Model Combinatorial Data Only After Completing Modelling of Targeted Functionality
More like this
Keep Only Relevant Activity Diagrams in Your Model Folder
Keep Only Relevant Activity Diagrams in Your Model Folder
Read with this
Use Advanced Test Generation Concepts Only Once Functionality is Complete
Use Advanced Test Generation Concepts Only Once Functionality is Complete
More like this
Modeling Interfaces
Modeling Interfaces
Read with this
Limit Use of Combinatorial Data to Avoid Test Case Explosion
Limit Use of Combinatorial Data to Avoid Test Case Explosion
More like this
Deploy 64-bit Conformiq Creator
Deploy 64-bit Conformiq Creator
Read with this

Copyright © 2023 Conformiq and its subsidiaries. All rights reserved.