runTSF & runsTSF

Get the minimal Test Set with guaranteed coverage equal to the Wise past in input or equal to the coverage of the Test Set past in input if less than WISE, extracting the test cases from the file of the Test Set past in input, excluding n-tuples already covered by the Partial Test Set input file (runTSF = run Test Set Forbidden).

 

Input:

  1. {FILE TESTSET BASE}               Input Test set from which extract the output Test Set
  2. {FILE TESTSET PARZIALE}     Partial Test Set with valid test cases, whose WISE-tuples are excluded from the output to be generated.
  3. {WISE}:                                             Integer number between 1 and WISE_MAX

 

Output:

  1. Minimal Test Set with guaranteed coverage equal to the Wise past in input “minus” the tuples in {FILE TESTSET PARZIALE}  or equal to the coverage of the input Test Set {FILE TESTSET BASE} if less than WISE  “minus” the tuples in {FILE TESTSET PARZIALE}, called delta_test_set_generato_{WISE}.txt in the execution folder.
  2. Minimal Test Set with guaranteed coverage equal to the Wise past in input “minus” the tuples in {FILE TESTSET PARZIALE}  or equal to the coverage of the input Test Set {FILE TESTSET BASE} if less than WISE  “minus” the tuples in {FILE TESTSET PARZIALE}, called delta_clean_test_set_generato_{WISE}.txt in the execution folder.


The difference between the two files is that delta_test_set_generato_{WISE}.txt shows the number of the extracted row from the input Test Set {FILE TESTSET BASE}, while in delta_clean_test_set_generato_{WISE}.txt this value is not reported.
To remark that the generated Test Set file is only the delta of test cases than those contained in {FILE TESTSET PARZIALE}; then the generated file will never have a coverage equal to WISE past as input (or equal to the coverage of the input Test Set {FILE TESTSET BASE} if less than WISE). This coverage is only guaranteed from the file "sum" of delta_*_test_set_generato_{WISE}.txt with {FILE TESTSET PARZIALE}

 

Prerequisites

  1. The command runW {WISE} must have been previously entered. Otherwise, a warning is printed with a request to execute it.

 

Example:

 

runTSF base_testset.txt parziale.txt 2

 

Suppose the file base_testset.txt has a WISE coverage = 3 respect the variables he manages. The above command extract 2-wise coverage Test Set without the tuples in parziale.txt, from the input file base_testset.txt.
The tool runTSF is faster but requires higher system memory. In the case where the system memory is not enough, the program is interrupted by a managed memory overflow. The tool runsTSF (note the "s" in runs which stands for "slow") requires less memory, but it takes more time, working mainly on file.

Web Traffic

Today4
Yesterday34
This week35822
This month579
Total35822

Who Is Online

1
Online

Saturday, 16 December 2017 01:16
Powered by CoalaWeb