Differences
This shows you the differences between two versions of the page.
tutorial:comb_data_modeling [2020/06/11 03:24] admin [What is Combinatorial Model?] |
tutorial:comb_data_modeling [2021/01/05 03:00] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Tutorial: Combinatorial Modeling and Test Generation ====== | ||
- | |||
- | Learning Objectives: | ||
- | * [[#What is Combinatorial Model?]] | ||
- | * [[#Build Model]] | ||
- | * [[#Generate Test Cases]] | ||
- | * [[#Make Changes]] | ||
- | |||
- | ===== What is Combinatorial Model? ===== | ||
- | Combinatorial Model is an abstraction and representation of a combinatorial problem. | ||
- | |||
- | Combinatorial Model consists of a list of variables with each variable having a set of domain values to be tested. The objective is to produce the least number of permutations of variable values to achieve the desired degree of interactions among variables. | ||
- | |||
- | Consider three variables with each variable has a domain of 10 possible values. | ||
- | |||
- | So if we were to reduce the test cases to test, which of the 1000 test cases can we cut? | ||
- | |||
- | According to {{https:// | ||
- | |||
- | // | ||
- | |||
- | In the example above, suppose we want to ensure every pair of variables are tested, we could use Pairwise algorithm to generate the test cases and the result is 99 test cases, which is 10% of 1000 test cases. | ||
- | |||
- | |||
- | |||
- | ===== Build Model ===== | ||
- | |||
- | |||
- | ===== Generate Test Cases ===== | ||
- | |||
- | |||
- | ===== Make Changes ===== | ||
- | |||
- | |||
- | |||
- | ===== ===== | ||