In addition to default Coverage Settings, Tags, and Rules, users have further advanced options to drive test case generation in Quality Modeller. These can be viewed by expanding the ‘Advanced’ dropdown menu.
Generation Type
Minimal Paths: Using this setting allows users to generate the minimum number of paths required to meet the specified level of coverage, i.e. an optimal test suite.
Random Paths: This allows users to generate paths of a more random nature through the system than the minimal path setting, however, this leads to a non-optimal test suite and can give a different number of test cases after each generation. This generation method will still fulfil the default coverage level set.
Maximum Paths to Explore: This is the maximum number of paths the random path generation will explore. The higher this number is set, the greater the chance of achieving the default coverage level. In general, if this number is set lower, then less test cases will be generated.
Note: This option only shows when 'Random Paths' is selected.
Other
Start/End Node: This gives users the options of excluding particular start or end nodes from the test case generation.
Path Minimisation: This refers to the process of reducing the number of generated paths down the smallest number, switching it off can often lead to faster test case generation times.
Evaluate Rules: The toggle here allows users to choose whether they want to evaluate rules overlaid on the model or not.
Coverage, at its most basic, is used to control how aggressively a Model is run, and how many test cases, user stories, or test data it produces. There are default settings for Low, Medium, High and Exhaustive Coverage. The Coverage button is on the Test Generation tab of a Model. It is fully configurable and can be set to produce only Positive or Negative Test Cases, using the Valid or Invalid data types applied to some or all of the Nodes
Tags are used in Models and are attached to blocks. They can be used for a range of reasons, but are most frequently used to define paths for test generation. For example, you can use Tags to define which blocks in your model are positive paths, and which are negative. Then you can use these Tags to customise the Coverage Profile for test generation for your model. Tags can be used to create a range of different Coverage Profiles and there is no limit to how many Tags a model can have.
Rules are conditions placed on Model Nodes of a Non-Linear Model that control whether the processing of a Flow passes through that branch. The Rules tool can be found on the Test Generation tab. When a Rule has been applied, a Rules logo appears in the Node were the rule was applied, and when that Node is selected, number appears next to the Rules button to show how many Rules have been applied on that Node.
This website uses analytics cookies. These cookies are used to improve your website experience and provide more personalized services to you. To find out more about the cookies we use, see our Privacy Policy.